Consistently use defines to set parameters

This commit is contained in:
Oleg Kalachev
2023-05-31 20:16:43 +03:00
parent 39875cafb9
commit 9eaa45c1d9
3 changed files with 12 additions and 13 deletions

View File

@@ -5,8 +5,7 @@
#include <MPU9250.h>
#define IMU_CS_PIN 4 // chip-select pin for IMU SPI connection
const bool CALIBRATE_GYRO_ON_START = false;
#define CALIBRATE_GYRO_ON_START false
MPU9250 IMU(SPI, IMU_CS_PIN);