aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/uart_lld.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/STM32/uart_lld.h')
-rw-r--r--os/hal/platforms/STM32/uart_lld.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/platforms/STM32/uart_lld.h b/os/hal/platforms/STM32/uart_lld.h
index e18a21b97..a1c6235ee 100644
--- a/os/hal/platforms/STM32/uart_lld.h
+++ b/os/hal/platforms/STM32/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. */
@@ -213,11 +213,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.*/
/**
* @brief Bit rate.
@@ -321,7 +321,7 @@ extern "C" {
}
#endif
-#endif /* CH_HAL_USE_UART */
+#endif /* HAL_USE_UART */
#endif /* _UART_LLD_H_ */