mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 04:00:28 +01:00
stm: Re-fix LED defines.
This commit is contained in:
@@ -8,10 +8,10 @@
|
|||||||
#include "led.h"
|
#include "led.h"
|
||||||
|
|
||||||
/* LED numbers, used internally */
|
/* LED numbers, used internally */
|
||||||
#define PYB_LED_1 (0)
|
#define PYB_LED_1 (1)
|
||||||
#define PYB_LED_2 (1)
|
#define PYB_LED_2 (2)
|
||||||
#define PYB_LED_3 (2)
|
#define PYB_LED_3 (3)
|
||||||
#define PYB_LED_4 (3)
|
#define PYB_LED_4 (4)
|
||||||
|
|
||||||
#if defined(PYBOARD)
|
#if defined(PYBOARD)
|
||||||
#define PYB_LED1_PORT (GPIOA)
|
#define PYB_LED1_PORT (GPIOA)
|
||||||
|
|||||||
Reference in New Issue
Block a user