From 0de9d86f5a756d00d844e81738ed0885aeea10e1 Mon Sep 17 00:00:00 2001 From: yp05327 <576951401@qq.com> Date: Fri, 15 Sep 2023 16:11:02 +0900 Subject: [PATCH] fix lint --- .../variant_NUCLEO_H753ZI.h | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/variants/STM32H7xx/H742Z(G-I)T_H743Z(G-I)T_H747A(G-I)I_H747I(G-I)T_H750ZBT_H753ZIT_H757AII_H757IIT/variant_NUCLEO_H753ZI.h b/variants/STM32H7xx/H742Z(G-I)T_H743Z(G-I)T_H747A(G-I)I_H747I(G-I)T_H750ZBT_H753ZIT_H757AII_H757IIT/variant_NUCLEO_H753ZI.h index dfd4bddca9..f32f90badd 100644 --- a/variants/STM32H7xx/H742Z(G-I)T_H743Z(G-I)T_H747A(G-I)I_H747I(G-I)T_H750ZBT_H753ZIT_H757AII_H757IIT/variant_NUCLEO_H753ZI.h +++ b/variants/STM32H7xx/H742Z(G-I)T_H743Z(G-I)T_H747A(G-I)I_H747I(G-I)T_H750ZBT_H753ZIT_H757AII_H757IIT/variant_NUCLEO_H753ZI.h @@ -200,7 +200,7 @@ // On-board LED pin number #ifndef LED_BUILTIN -#define LED_BUILTIN PB0 // LD1 + #define LED_BUILTIN PB0 // LD1 #endif #define LED_GREEN LED_BUILTIN #define LED_BLUE PB7 // LD2 @@ -208,50 +208,50 @@ // On-board user button #ifndef USER_BTN -#define USER_BTN PC13 + #define USER_BTN PC13 #endif // Timer Definitions // Use TIM6/TIM7 when possible as servo and tone don't need GPIO output pin #ifndef TIMER_TONE -#define TIMER_TONE TIM6 + #define TIMER_TONE TIM6 #endif #ifndef TIMER_SERVO -#define TIMER_SERVO TIM7 + #define TIMER_SERVO TIM7 #endif // UART Definitions #ifndef SERIAL_UART_INSTANCE -#define SERIAL_UART_INSTANCE 3 //Connected to ST-Link + #define SERIAL_UART_INSTANCE 3 //Connected to ST-Link #endif // Serial pin used for console (ex: ST-Link) // Required by Firmata #ifndef PIN_SERIAL_RX -#define PIN_SERIAL_RX PD9 + #define PIN_SERIAL_RX PD9 #endif #ifndef PIN_SERIAL_TX -#define PIN_SERIAL_TX PD8 + #define PIN_SERIAL_TX PD8 #endif // HSE default value is 25MHz in HAL // HSE_BYPASS is 8MHz #ifndef HSE_BYPASS_NOT_USED -#define HSE_VALUE 8000000 + #define HSE_VALUE 8000000 #endif // Extra HAL modules #if !defined(HAL_DAC_MODULE_DISABLED) -#define HAL_DAC_MODULE_ENABLED + #define HAL_DAC_MODULE_ENABLED #endif #if !defined(HAL_ETH_MODULE_DISABLED) -#define HAL_ETH_MODULE_ENABLED + #define HAL_ETH_MODULE_ENABLED #endif #if !defined(HAL_QSPI_MODULE_DISABLED) -#define HAL_QSPI_MODULE_ENABLED + #define HAL_QSPI_MODULE_ENABLED #endif #if !defined(HAL_SD_MODULE_DISABLED) -#define HAL_SD_MODULE_ENABLED + #define HAL_SD_MODULE_ENABLED #endif /*---------------------------------------------------------------------------- @@ -274,6 +274,6 @@ // // SERIAL_PORT_HARDWARE_OPEN Hardware serial ports which are open for use. Their RX & TX // pins are NOT connected to anything by default. -#define SERIAL_PORT_MONITOR Serial -#define SERIAL_PORT_HARDWARE Serial + #define SERIAL_PORT_MONITOR Serial + #define SERIAL_PORT_HARDWARE Serial #endif