cyphal: Fix FMUv5 config; throw error if no CAN driver exists

This commit is contained in:
JacobCrabill 2022-07-26 11:40:54 -07:00 committed by Daniel Agar
parent c81efd0174
commit 57125a4c8f
2 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,8 @@
# include "CanardSocketCAN.hpp"
# elif defined(CONFIG_CAN)
# include "CanardNuttXCDev.hpp"
# else
# error "No CAN driver enabled for Cyphal build"
# endif // CONFIG_CAN
#endif // NuttX