Move thread handles and attributes to related file
- Better separation of concerns
This commit is contained in:
@@ -3,6 +3,17 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
/* Decladerations for thread handles and attributes */
|
||||
extern osThreadId_t vCAN1_rx;
|
||||
extern osThreadId_t vCAN2_rx;
|
||||
extern osThreadId_t vLED_CAN1_Heartbeat;
|
||||
extern osThreadId_t vLED_CAN2_Heartbeat;
|
||||
|
||||
extern const osThreadAttr_t vCAN1_rx_attributes;
|
||||
extern const osThreadAttr_t vCAN2_rx_attributes;
|
||||
extern const osThreadAttr_t vLED_CAN1_Heartbeat_attributes;
|
||||
extern const osThreadAttr_t vLED_CAN2_Heartbeat_attributes;
|
||||
|
||||
/**
|
||||
* @brief Initializes the CAN logger modules, OS threads, queues, and hardware.
|
||||
* @param hcan1 Pointer to the CAN1 handle
|
||||
|
||||
Reference in New Issue
Block a user