From 616b87ea3796da67d13d375bd5dfbec520081928 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=BF=9E=E9=92=8A?= Date: Thu, 24 Jan 2019 15:40:53 +0800 Subject: [PATCH] Update stm32f1xx_hal_can.h --- .../Libraries/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_can.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp/stm32f10x-HAL/Libraries/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_can.h b/bsp/stm32f10x-HAL/Libraries/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_can.h index 1e2e755b2e..98e89e09da 100644 --- a/bsp/stm32f10x-HAL/Libraries/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_can.h +++ b/bsp/stm32f10x-HAL/Libraries/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_can.h @@ -376,7 +376,7 @@ typedef struct #define CAN_FLAG_RQCP2 ((uint32_t)((TSR_REGISTER_INDEX << 8U) | CAN_TSR_RQCP2_BIT_POSITION)) /*!< Request MailBox2 flag */ #define CAN_FLAG_TXOK0 ((uint32_t)((TSR_REGISTER_INDEX << 8U) | CAN_TSR_TXOK0_BIT_POSITION)) /*!< Transmission OK MailBox0 flag */ #define CAN_FLAG_TXOK1 ((uint32_t)((TSR_REGISTER_INDEX << 8U) | CAN_TSR_TXOK1_BIT_POSITION)) /*!< Transmission OK MailBox1 flag */ -#define CAN_FLAG_TXOK2 ((uint32_t)((TSR_REGISTER_INDEX << 8U) | CAN_TSR_RQCP0_BIT_POSITION)) /*!< Transmission OK MailBox2 flag */ +#define CAN_FLAG_TXOK2 ((uint32_t)((TSR_REGISTER_INDEX << 8U) | CAN_TSR_TXOK2_BIT_POSITION)) /*!< Transmission OK MailBox2 flag */ #define CAN_FLAG_TME0 ((uint32_t)((TSR_REGISTER_INDEX << 8U) | CAN_TSR_TME0_BIT_POSITION)) /*!< Transmit mailbox 0 empty flag */ #define CAN_FLAG_TME1 ((uint32_t)((TSR_REGISTER_INDEX << 8U) | CAN_TSR_TME1_BIT_POSITION)) /*!< Transmit mailbox 0 empty flag */ #define CAN_FLAG_TME2 ((uint32_t)((TSR_REGISTER_INDEX << 8U) | CAN_TSR_TME2_BIT_POSITION)) /*!< Transmit mailbox 0 empty flag */