mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
ll40ls bus option is constexpr
This commit is contained in:
parent
428c8bbfe7
commit
ee7aebf971
@ -64,7 +64,7 @@ enum LL40LS_BUS {
|
||||
LL40LS_BUS_PWM
|
||||
};
|
||||
|
||||
static struct ll40ls_bus_option {
|
||||
static constexpr struct ll40ls_bus_option {
|
||||
enum LL40LS_BUS busid;
|
||||
const char *devname;
|
||||
uint8_t busnum;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user