diff --git a/include/BNO08x.hpp b/include/BNO08x.hpp index 1b2e8b3..3546481 100644 --- a/include/BNO08x.hpp +++ b/include/BNO08x.hpp @@ -368,7 +368,7 @@ class BNO08x bool wait_for_data(); bool receive_packet(); void send_packet(bno08x_tx_packet_t* packet); - void flush_rx_packets(uint8_t flush_count, TickType_t delay); + void flush_rx_packets(uint8_t flush_count); void enable_report(uint8_t report_ID, uint32_t time_between_reports, const EventBits_t report_evt_grp_bit, uint32_t special_config = 0); void disable_report(uint8_t report_ID, const EventBits_t report_evt_grp_bit); void queue_packet(uint8_t channel_number, uint8_t data_length, uint8_t* commands); @@ -387,6 +387,7 @@ class BNO08x // for debug void print_header(bno08x_rx_packet_t* packet); void print_packet(bno08x_rx_packet_t* packet); + bool first_boot = true; ///< true only for first execution of hard_reset(), used to suppress the printing of product ID report. // spi task TaskHandle_t spi_task_hdl; ///