mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-08 00:43:58 -04:00
AP_Periph: adjust for new type-safety for AP_Enum
This commit is contained in:
parent
870b626f0e
commit
a2322abe02
@ -1611,7 +1611,7 @@ void AP_Periph_FW::can_start()
|
||||
}
|
||||
}
|
||||
if (!has_uavcan_at_1MHz) {
|
||||
g.can_protocol[0].set_and_save(uint8_t(AP_CAN::Protocol::DroneCAN));
|
||||
g.can_protocol[0].set_and_save(AP_CAN::Protocol::DroneCAN);
|
||||
g.can_baudrate[0].set_and_save(1000000);
|
||||
}
|
||||
#endif // HAL_PERIPH_ENFORCE_AT_LEAST_ONE_PORT_IS_UAVCAN_1MHz
|
||||
|
Loading…
Reference in New Issue
Block a user