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:
Anton Lundin 2015-01-26 20:01:01 +01:00 committed by Dirk Hohndel
parent 81c0f39fa7
commit 4508a3cea4

View file

@ -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)
{