summaryrefslogtreecommitdiffstatshomepage
path: root/stm
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-06 22:17:37 +0000
committerDamien George <damien.p.george@gmail.com>2014-01-06 22:17:37 +0000
commitff07bb3adb50481d6b7be94755e07df893f374dc (patch)
treedd05ef5c7d248d4f027db7c47e226fc60805f5ab /stm
parent439ff909592e4437480a0c11731978d1dd7d0d1d (diff)
downloadmicropython-ff07bb3adb50481d6b7be94755e07df893f374dc.tar.gz
micropython-ff07bb3adb50481d6b7be94755e07df893f374dc.zip
stm: Re-fix LED defines.
Diffstat (limited to 'stm')
-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)