mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 12:57:34 +08:00
gyro_calibration: use constexpr instead of const
This commit is contained in:
committed by
Daniel Agar
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 {
|
||||
|
||||
Reference in New Issue
Block a user