mirror of
https://github.com/okalachev/flix.git
synced 2026-01-11 21:46:55 +00:00
Consistently use defines to set parameters
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user