firmware: add persistent level calibration
This commit is contained in:
@@ -21,3 +21,7 @@
|
||||
#define TELEMETRY_INTERVAL_MS 200
|
||||
#define SENSOR_STALE_MS 2000
|
||||
#define USB_TELEMETRY_ENABLED 1
|
||||
#define LEVEL_CALIBRATION_DURATION_MS 5000
|
||||
#define LEVEL_CALIBRATION_MIN_SAMPLES 100
|
||||
#define LEVEL_CALIBRATION_MAX_MOVEMENT_DEGREES 2.0f
|
||||
#define RS485_COMMAND_MAX_LENGTH 192
|
||||
|
||||
Reference in New Issue
Block a user