mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
AP_BoardConfig: check IOMCU is enabled when checking dshot
This commit is contained in:
parent
1b210f8ea9
commit
4c8b346512
@ -94,7 +94,7 @@ public:
|
||||
|
||||
static bool io_dshot(void) {
|
||||
#if HAL_WITH_IO_MCU
|
||||
return _singleton?_singleton->state.io_dshot.get():false;
|
||||
return io_enabled() && _singleton?_singleton->state.io_dshot.get():false;
|
||||
#else
|
||||
return false;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user