diff --git a/src/atomics_cobalt.c b/src/atomics_cobalt.c index 7c7dccb..21d5896 100644 --- a/src/atomics_cobalt.c +++ b/src/atomics_cobalt.c @@ -30,7 +30,7 @@ #ifdef _WIN32 #define NOGDI #endif -#include +#include #endif #include "atomics_cobalt.h" diff --git a/src/mares_iconhd_parser.c b/src/mares_iconhd_parser.c index aa44ace..e66d190 100644 --- a/src/mares_iconhd_parser.c +++ b/src/mares_iconhd_parser.c @@ -457,7 +457,7 @@ mares_iconhd_parser_get_field (dc_parser_t *abstract, dc_field_type_t type, unsi break; case DC_FIELD_TEMPERATURE_MINIMUM: if (parser->model == SMARTAPNEA) - *((double *) value) = (signed short) array_uint16_le (p + 0x3C) / 10.0; + *((double *) value) = (signed short) array_uint16_le (p + 0x3E) / 10.0; else if (parser->mode == FREEDIVE) *((double *) value) = (signed short) array_uint16_le (p + 0x1C) / 10.0; else @@ -465,7 +465,7 @@ mares_iconhd_parser_get_field (dc_parser_t *abstract, dc_field_type_t type, unsi break; case DC_FIELD_TEMPERATURE_MAXIMUM: if (parser->model == SMARTAPNEA) - *((double *) value) = (signed short) array_uint16_le (p + 0x3E) / 10.0; + *((double *) value) = (signed short) array_uint16_le (p + 0x3C) / 10.0; else if (parser->mode == FREEDIVE) *((double *) value) = (signed short) array_uint16_le (p + 0x1E) / 10.0; else diff --git a/src/usbhid.c b/src/usbhid.c index a3ddc74..a9563c7 100644 --- a/src/usbhid.c +++ b/src/usbhid.c @@ -45,9 +45,9 @@ #ifdef _WIN32 #define NOGDI #endif -#include +#include #elif defined(USE_HIDAPI) -#include +#include #endif #include