AP_BoardConfig: fixed CAN init without SLCAN

This commit is contained in:
Andrew Tridgell 2019-10-06 21:54:08 +11:00
parent 15d98220e0
commit 4866fd68b5
1 changed files with 2 additions and 0 deletions

View File

@ -183,6 +183,8 @@ void AP_BoardConfig_CAN::init()
} else {
_drivers[i]._driver->init(i, false);
}
#else
_drivers[i]._driver->init(i, true);
#endif
}
}