diff options
author | nickshl <nicolai.shlapunov@gmail.com> | 2019-06-11 07:36:27 +0300 |
---|---|---|
committer | nickshl <nicolai.shlapunov@gmail.com> | 2019-06-11 07:36:27 +0300 |
commit | 56a4cb5c5e1bd2f63248e4979eea21e6af1221d3 (patch) | |
tree | 51079a9bfd7f56dabc456b1d5004111c0f4dd81f | |
parent | a03066d9506d49b8ff6ab4be7e00e4e1ca08813e (diff) |
Minor changes
-rw-r--r-- | Drivers/StHalGpio.h | 4 | ||||
-rw-r--r-- | Drivers/StHalUart.h | 2 | ||||
-rw-r--r-- | Framework/Result.h | 1 |
3 files changed, 4 insertions, 3 deletions
diff --git a/Drivers/StHalGpio.h b/Drivers/StHalGpio.h index f29110f..0e2de60 100644 --- a/Drivers/StHalGpio.h +++ b/Drivers/StHalGpio.h @@ -45,8 +45,8 @@ //
//******************************************************************************
-#ifndef StmHalGpio_h
-#define StmHalGpio_h
+#ifndef StHalGpio_h
+#define StHalGpio_h
// *****************************************************************************
// *** Includes ************************************************************
diff --git a/Drivers/StHalUart.h b/Drivers/StHalUart.h index 0864c24..11baef3 100644 --- a/Drivers/StHalUart.h +++ b/Drivers/StHalUart.h @@ -57,7 +57,7 @@ // *****************************************************************************
// *** This driver can be compiled only if UART configured in CubeMX *******
// *****************************************************************************
-#ifndef HAL_USART_MODULE_ENABLED
+#if !defined(HAL_USART_MODULE_ENABLED) && !defined(HAL_UART_MODULE_ENABLED)
typedef uint32_t UART_HandleTypeDef; // Dummy UART handle for header compilation
#endif
diff --git a/Framework/Result.h b/Framework/Result.h index 0dc768a..30b987a 100644 --- a/Framework/Result.h +++ b/Framework/Result.h @@ -69,6 +69,7 @@ class Result ERR_NOT_IMPLEMENTED,
ERR_BAD_CRC,
ERR_BUSY,
+ ERR_UNHANDLED_REQUEST,
// *** RTOS errors ***************************************************
ERR_TASK_CREATE,
|