summaryrefslogtreecommitdiffstatshomepage
path: root/stm/led.h
diff options
context:
space:
mode:
Diffstat (limited to 'stm/led.h')
-rw-r--r--stm/led.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/stm/led.h b/stm/led.h
index fcbfa17634..c68f3e4142 100644
--- a/stm/led.h
+++ b/stm/led.h
@@ -1,13 +1,13 @@
typedef enum {
- PYB_LED_R1 = 0,
- PYB_LED_R2 = 1,
- PYB_LED_G1 = 2,
- PYB_LED_G2 = 3,
+ PYB_LED_R1 = 1,
+ PYB_LED_R2 = 2,
+ PYB_LED_G1 = 3,
+ PYB_LED_G2 = 4,
//STM32F4DISC
- PYB_LED_R = 0,
- PYB_LED_G = 1,
- PYB_LED_B = 2,
- PYB_LED_O = 3,
+ PYB_LED_R = 1,
+ PYB_LED_G = 2,
+ PYB_LED_B = 3,
+ PYB_LED_O = 4,
} pyb_led_t;
void led_init(void);