gyro_calibration: use constexpr instead of const

This commit is contained in:
Matthias Grob 2019-10-15 14:18:30 +02:00 committed by Daniel Agar
parent 09faa4647b
commit 185e2811dc

View File

@ -62,7 +62,7 @@
static const char *sensor_name = "gyro";
static const unsigned max_gyros = 3;
static constexpr unsigned max_gyros = 3;
/// Data passed to calibration worker routine
typedef struct {