mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/CAN-Demo.git
synced 2025-08-06 14:07:35 +00:00
Updated to fix compile issues
This commit is contained in:
@@ -55,16 +55,6 @@ const osThreadAttr_t defaultTask_attributes = {
|
||||
.priority = (osPriority_t) osPriorityNormal,
|
||||
};
|
||||
|
||||
|
||||
/* Definitions for uartMutex */
|
||||
osMutexId_t uartMutexHandle;
|
||||
osStaticMutexDef_t uartMutex_cb;
|
||||
const osMutexAttr_t uartMutex_attributes = {
|
||||
.name = "uartMutex",
|
||||
.cb_mem = &uartMutex_cb,
|
||||
.cb_size = sizeof(uartMutex_cb),
|
||||
};
|
||||
|
||||
/* Private function prototypes -----------------------------------------------*/
|
||||
/* USER CODE BEGIN FunctionPrototypes */
|
||||
|
||||
@@ -81,7 +71,6 @@ void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
|
||||
*/
|
||||
void MX_FREERTOS_Init(void) {
|
||||
/* USER CODE BEGIN Init */
|
||||
uartMutexHandle = osMutexNew(&uartMutex_attributes);
|
||||
|
||||
/* USER CODE END Init */
|
||||
|
||||
|
Reference in New Issue
Block a user