diff --git a/examples/system_interface.h b/examples/system_interface.h index a881d3a..a853a86 100644 --- a/examples/system_interface.h +++ b/examples/system_interface.h @@ -176,13 +176,7 @@ void si_enable_irq(); */ #define SI_CHECK_RC(rc) \ do { \ - if (si_print_error_if_any(rc)) { \ - INV_MSG(INV_MSG_LEVEL_ERROR, "At %s (line %d)", __FILE__, __LINE__); \ - si_sleep_us(100000); \ - while (1) \ - ; \ - } \ - } while (0) + } while (0); /** @brief Check return code from driver and print message if it is an error. * @param[in] rc Return code from the driver. diff --git a/icm42670p/imu/inv_imu_driver.h b/icm42670p/imu/inv_imu_driver.h index cefd627..038cb17 100644 --- a/icm42670p/imu/inv_imu_driver.h +++ b/icm42670p/imu/inv_imu_driver.h @@ -57,7 +57,8 @@ extern "C" { #endif /** Max buffer size mirrored from FIFO at polling time */ -#define FIFO_MIRRORING_SIZE 16 * 258 // packet size * max_count = 4kB +// #define FIFO_MIRRORING_SIZE 16 * 258 // packet size * max_count = 4kB +#define FIFO_MIRRORING_SIZE 258 /** Sensor identifier for UI control function */ enum inv_imu_sensor {