summaryrefslogtreecommitdiffstatshomepage
path: root/stm/led.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm/led.c')
-rw-r--r--stm/led.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/stm/led.c b/stm/led.c
index 19ce99cecb..d4bc0a0c87 100644
--- a/stm/led.c
+++ b/stm/led.c
@@ -8,10 +8,10 @@
#include "led.h"
/* LED numbers, used internally */
-#define PYB_LED_1 (0)
-#define PYB_LED_2 (1)
-#define PYB_LED_3 (2)
-#define PYB_LED_4 (3)
+#define PYB_LED_1 (1)
+#define PYB_LED_2 (2)
+#define PYB_LED_3 (3)
+#define PYB_LED_4 (4)
#if defined(PYBOARD)
#define PYB_LED1_PORT (GPIOA)