diff options
Diffstat (limited to 'os/hal/templates/uart_lld.h')
-rw-r--r-- | os/hal/templates/uart_lld.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/templates/uart_lld.h b/os/hal/templates/uart_lld.h index 617c56166..531e7f3ab 100644 --- a/os/hal/templates/uart_lld.h +++ b/os/hal/templates/uart_lld.h @@ -28,7 +28,7 @@ #ifndef _UART_LLD_H_
#define _UART_LLD_H_
-#if CH_HAL_USE_UART || defined(__DOXYGEN__)
+#if HAL_USE_UART || defined(__DOXYGEN__)
/*===========================================================================*/
/* Driver constants. */
@@ -102,11 +102,11 @@ typedef struct { /**
* @brief Character received while out if the @p UART_RECEIVE state.
*/
- uartcb_t uc_rxchar;
+ uartccb_t uc_rxchar;
/**
* @brief Receive error callback.
*/
- uartcb_t uc_rxerr;
+ uartecb_t uc_rxerr;
/* End of the mandatory fields.*/
} UARTConfig;
@@ -160,7 +160,7 @@ extern "C" { }
#endif
-#endif /* CH_HAL_USE_UART */
+#endif /* HAL_USE_UART */
#endif /* _UART_LLD_H_ */
|