mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-17 10:33:49 +01:00
Merge pull request #20615 from Enoch247/revert-whitespace-changes
boards/common/nucleo144: revert waitespace changes
This commit is contained in:
commit
009d76e4fe
@ -37,27 +37,27 @@ extern "C" {
|
|||||||
* @name LED pin definitions and handlers
|
* @name LED pin definitions and handlers
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
#if defined(CPU_MODEL_STM32L496ZG) || defined(CPU_MODEL_STM32L4R5ZI) || \
|
#if defined(CPU_MODEL_STM32L496ZG) || defined(CPU_MODEL_STM32L4R5ZI) || \
|
||||||
defined(CPU_MODEL_STM32L552ZE) || defined(CPU_MODEL_STM32U575ZI)
|
defined(CPU_MODEL_STM32L552ZE) || defined(CPU_MODEL_STM32U575ZI)
|
||||||
#define LED0_PIN_NUM 7
|
#define LED0_PIN_NUM 7
|
||||||
#define LED0_PORT_NUM PORT_C
|
#define LED0_PORT_NUM PORT_C
|
||||||
#else
|
#else
|
||||||
#define LED0_PIN_NUM 0
|
#define LED0_PIN_NUM 0
|
||||||
#define LED0_PORT_NUM PORT_B
|
#define LED0_PORT_NUM PORT_B
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define LED1_PIN_NUM 7
|
#define LED1_PIN_NUM 7
|
||||||
#define LED1_PORT_NUM PORT_B
|
#define LED1_PORT_NUM PORT_B
|
||||||
|
|
||||||
#if defined(CPU_MODEL_STM32L552ZE)
|
#if defined(CPU_MODEL_STM32L552ZE)
|
||||||
#define LED2_PIN_NUM 9
|
#define LED2_PIN_NUM 9
|
||||||
#define LED2_PORT_NUM PORT_A
|
#define LED2_PORT_NUM PORT_A
|
||||||
#elif defined(CPU_MODEL_STM32U575ZI)
|
#elif defined(CPU_MODEL_STM32U575ZI)
|
||||||
#define LED2_PIN_NUM 2
|
#define LED2_PIN_NUM 2
|
||||||
#define LED2_PORT_NUM PORT_G
|
#define LED2_PORT_NUM PORT_G
|
||||||
#else
|
#else
|
||||||
#define LED2_PIN_NUM 14
|
#define LED2_PIN_NUM 14
|
||||||
#define LED2_PORT_NUM PORT_B
|
#define LED2_PORT_NUM PORT_B
|
||||||
#endif
|
#endif
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
@ -65,8 +65,8 @@ extern "C" {
|
|||||||
* @name User button
|
* @name User button
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
#define BTN0_PIN GPIO_PIN(PORT_C, 13)
|
#define BTN0_PIN GPIO_PIN(PORT_C, 13)
|
||||||
#define BTN0_MODE GPIO_IN_PD
|
#define BTN0_MODE GPIO_IN_PD
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user