mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-30 12:24:06 +08:00
gyro_calibration: use constexpr instead of const
This commit is contained in:
parent
09faa4647b
commit
185e2811dc
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user