Skip to content

Commit

Permalink
Remove RE_F0_FLAGS_SEQ_INVALID
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSomeMan committed Dec 4, 2024
1 parent b72e510 commit d648488
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/ruuvi_endpoint_f0.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion test/test_ruuvi_endpoint_f0.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] =
Expand Down

0 comments on commit d648488

Please sign in to comment.