diff options
author | Martin Měřinský <mermar@centrum.cz> | 2017-03-06 13:36:42 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-03-11 08:09:07 -0800 |
commit | 95d5771513878dbe0f51fc9ac172f5d649a42e3f (patch) | |
tree | e2e0ae9c7d81f9e6e2180e087807b0f37d6faa00 /core | |
parent | dcf254221504d1e41e491de3a74e07a7c585d2c1 (diff) | |
download | subsurface-95d5771513878dbe0f51fc9ac172f5d649a42e3f.tar.gz |
We use 'setpoint' in UI. Use it also for documentation and comments. No semantic change.
Diffstat (limited to 'core')
-rw-r--r-- | core/configuredivecomputer.cpp | 4 | ||||
-rw-r--r-- | core/configuredivecomputerthreads.cpp | 4 | ||||
-rw-r--r-- | core/liquivision.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/core/configuredivecomputer.cpp b/core/configuredivecomputer.cpp index d8aefaecc..1e1f9faaf 100644 --- a/core/configuredivecomputer.cpp +++ b/core/configuredivecomputer.cpp @@ -131,8 +131,8 @@ bool ConfigureDiveComputer::saveXMLBackup(QString fileName, DeviceDetails *detai writer.writeTextElement("Dil3", dil3); writer.writeTextElement("Dil4", dil4); writer.writeTextElement("Dil5", dil5); - // - //Add set point values + + //Add setpoint values QString sp1 = QString("%1,%2") .arg(QString::number(details->sp1.sp), QString::number(details->sp1.depth)); diff --git a/core/configuredivecomputerthreads.cpp b/core/configuredivecomputerthreads.cpp index 33edbdce0..9dd83a6ea 100644 --- a/core/configuredivecomputerthreads.cpp +++ b/core/configuredivecomputerthreads.cpp @@ -501,7 +501,7 @@ static dc_status_t read_ostc3_settings(dc_device_t *device, DeviceDetails *m_dev m_deviceDetails->dil4 = dil4; m_deviceDetails->dil5 = dil5; - //Read set point Values + //Read setpoint Values setpoint sp1; setpoint sp2; setpoint sp3; @@ -700,7 +700,7 @@ static dc_status_t write_ostc3_settings(dc_device_t *device, DeviceDetails *m_de return rc; EMIT_PROGRESS(); - //write set point values + //write setpoint values unsigned char sp1Data[2] = { m_deviceDetails->sp1.sp, m_deviceDetails->sp1.depth diff --git a/core/liquivision.c b/core/liquivision.c index 9347a724a..c023e0f02 100644 --- a/core/liquivision.c +++ b/core/liquivision.c @@ -54,7 +54,7 @@ static int handle_event_ver3(int code, const unsigned char *ps, unsigned int ps_ break; case 0x0008: // 4 byte time - // 2 byte gas set point 2 + // 2 byte gas setpoint 2 skip = 6; break; case 0x000f: |