Fix missing CAN bus task enable guard

This commit is contained in:
Henrik Stickann 2022-12-15 21:29:11 +01:00
parent 55b7b8b8e2
commit 2d9d9920ac

View File

@ -2,6 +2,9 @@
* @file
* @brief CAN driver thread.
*/
#include <sta/config.hpp>
#ifdef STA_RTOS_CAN_BUS_ENABLE
#include <sta/assert.hpp>
#include <sta/debug_serial.hpp>
#include <sta/can/subscribable.hpp>
@ -406,3 +409,6 @@ extern "C"
}
}
}
#endif // STA_RTOS_CAN_BUS_ENABLE