diff --git a/src/shared/sensors/BMX160/BMX160.h b/src/shared/sensors/BMX160/BMX160.h index b4a3864ab7ccdf1a2f6c9bddb90dbe7663d382aa..1724df98839710ef8f29147e70b8141f805e51c8 100644 --- a/src/shared/sensors/BMX160/BMX160.h +++ b/src/shared/sensors/BMX160/BMX160.h @@ -339,8 +339,8 @@ private: int tempCounter = 0; - // Sometimes the buffer gets over 1000 - static constexpr unsigned int FIFO_BUF_SIZE = 1100; + // Sometimes the buffer gets over 1000 and the fifo's size assertion fails. + static constexpr unsigned int FIFO_BUF_SIZE = 2100; /** * Sometimes the sensor pulls down the interrupt pin while reading data.