mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-02 03:49:12 +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