diff --git a/src/ruuvi_endpoint_f0.h b/src/ruuvi_endpoint_f0.h index 316d78e..f1267d0 100644 --- a/src/ruuvi_endpoint_f0.h +++ b/src/ruuvi_endpoint_f0.h @@ -27,7 +27,6 @@ #define RE_F0_FLAGS_SEQ_MASK (0x0FU) #define RE_F0_FLAGS_SEQ_OFFSET (4U) -#define RE_F0_FLAGS_SEQ_INVALID (0x0FU) #define RE_F0_FLAGS_USB_ON (0x01U) #define RE_F0_FLAGS_LOW_BATTERY (0x02U) #define RE_F0_FLAGS_CALIBRATION_IN_PROGRESS (0x04U) diff --git a/test/test_ruuvi_endpoint_f0.c b/test/test_ruuvi_endpoint_f0.c index 4a734c2..19422a9 100644 --- a/test/test_ruuvi_endpoint_f0.c +++ b/test/test_ruuvi_endpoint_f0.c @@ -320,7 +320,7 @@ void test_ruuvi_endpoint_f0_get_invalid_data (void) .flag_low_battery = false, .flag_calibration_in_progress = false, .flag_boost_mode = false, - .flag_seq_cnt = RE_F0_FLAGS_SEQ_INVALID, + .flag_seq_cnt = 0, .address = 0xFFFFFFFFFFFF, }; static const uint8_t invalid_data[] =