Fix debug prints
This commit is contained in:
+2
-1
@@ -114,9 +114,10 @@ void vUARTLogger(void *argument)
|
||||
if (HAL_UART_Transmit_DMA(&huart1, (uint8_t*)tx_buffer, len) == HAL_OK)
|
||||
{
|
||||
osSemaphoreAcquire(xUARTDMASemaphore, osWaitForever);
|
||||
}
|
||||
DEBUG_PRINT("CAN frame sent via UART\r\n");
|
||||
}
|
||||
else DEBUG_PRINT("HAL error, CAN frame NOT sent!\r\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
/* END vUARTLoggerListen */
|
||||
|
||||
Reference in New Issue
Block a user