mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 20:33:24 +00:00
ifdef hw_ostc3_device_config_{read,write} usage
hw_ostc3_device_config_{read,write} came into existence in libdivecomputer 0.5.0 series, and by accident lost there ifdef's when they moved out to separate functions. This returns those ifdefs. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
81c0f39fa7
commit
4508a3cea4
1 changed files with 2 additions and 0 deletions
|
@ -378,6 +378,7 @@ static dc_status_t write_suunto_vyper_settings(dc_device_t *device, DeviceDetail
|
|||
|
||||
#undef EMIT_PROGRESS
|
||||
|
||||
#if DC_VERSION_CHECK(0, 5, 0)
|
||||
static dc_status_t read_ostc3_settings(dc_device_t *device, DeviceDetails *m_deviceDetails)
|
||||
{
|
||||
dc_status_t rc;
|
||||
|
@ -820,6 +821,7 @@ static dc_status_t write_ostc3_settings(dc_device_t *device, DeviceDetails *m_de
|
|||
|
||||
return rc;
|
||||
}
|
||||
#endif /* DC_VERSION_CHECK(0, 5, 0) */
|
||||
|
||||
static dc_status_t read_ostc_settings(dc_device_t *device, DeviceDetails *m_deviceDetails)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue