summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-06 22:17:37 +0000
committerJohn R. Lenton <jlenton@gmail.com>2014-01-07 22:51:08 +0000
commite3096172c90fb1223f99bc6f957322009c79c36f (patch)
tree4cfdbf5d478fe3a8e96f9aefacf3ba4b0831156d
parent1a9951d5aab681a4ff408d8520696b9f67b83d49 (diff)
downloadmicropython-e3096172c90fb1223f99bc6f957322009c79c36f.tar.gz
micropython-e3096172c90fb1223f99bc6f957322009c79c36f.zip
stm: Re-fix LED defines.
-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)