diff options
Diffstat (limited to 'os/hal/include/hal_uart.h')
-rw-r--r-- | os/hal/include/hal_uart.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/os/hal/include/hal_uart.h b/os/hal/include/hal_uart.h index 9e5d2a373..a07464993 100644 --- a/os/hal/include/hal_uart.h +++ b/os/hal/include/hal_uart.h @@ -43,6 +43,13 @@ #define UART_BREAK_DETECTED 64 /**< @brief Break detected. */
/** @} */
+/**
+ * @name UART error conditions
+ * @{
+ */
+#define UART_ERR_NOT_ACTIVE (size_t)-1
+/** @} */
+
/*===========================================================================*/
/* Driver pre-compile time settings. */
/*===========================================================================*/
|