mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 05:03:34 +08:00
cyphal: Fix FMUv5 config; throw error if no CAN driver exists
This commit is contained in:
committed by
Daniel Agar
parent
c81efd0174
commit
57125a4c8f
@@ -48,6 +48,8 @@
|
|||||||
# include "CanardSocketCAN.hpp"
|
# include "CanardSocketCAN.hpp"
|
||||||
# elif defined(CONFIG_CAN)
|
# elif defined(CONFIG_CAN)
|
||||||
# include "CanardNuttXCDev.hpp"
|
# include "CanardNuttXCDev.hpp"
|
||||||
|
# else
|
||||||
|
# error "No CAN driver enabled for Cyphal build"
|
||||||
# endif // CONFIG_CAN
|
# endif // CONFIG_CAN
|
||||||
#endif // NuttX
|
#endif // NuttX
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user