Working CAN (#35)
* Minor fix in documentation * Make CAN compile again * Now able to disable uart_serial * Boots and runs CAN Requires matching thingset-cpp library The placement of the ts_can.process_asap/process_1s is a little hack, but I did want to add even more ifdefs in the main method. Renaming the functions could do the trick. BTW, serial and CAN thingset can be run at the same time, no problems. * Some cleanups in the CAN interface
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
#ifndef UNIT_TEST
|
||||
|
||||
#include "mbed.h"
|
||||
#ifdef STM32F0 // STM32L0 does not have CAN
|
||||
|
||||
#include "can_msg_queue.h"
|
||||
@@ -49,3 +51,4 @@ int CANMsgQueue::first(CANMessage& msg) {
|
||||
}
|
||||
|
||||
#endif /* STM32F0 */
|
||||
#endif
|
||||
Reference in New Issue
Block a user