Skip to content

Commit 81eac8b

Browse files
authored
Merge pull request #55 from larus-breeze/CAN_concurrency_FIX
CAN output only within CAN output task.
2 parents 0aa4d4d + edf3713 commit 81eac8b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Output_Formatter/CAN_output.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#define SRC_CAN_OUTPUT_H_
2727

2828
#include "data_structures.h"
29+
#include "generic_CAN_driver.h"
2930

3031
/* Larus CAN definitions */
3132
#define SYSWIDECONFIG_ITEM_ID_VOLUME 0
@@ -60,5 +61,6 @@
6061

6162
void CAN_output ( const output_data_t &x, bool horizon_activated);
6263
void CAN_heartbeat( void);
64+
bool CAN_enqueue( const CANpacket &p, unsigned max_delay = 0xffffffff);
6365

6466
#endif /* SRC_CAN_OUTPUT_H_ */

0 commit comments

Comments
 (0)