summaryrefslogtreecommitdiffstatshomepage
path: root/stm/led.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm/led.c')
-rw-r--r--stm/led.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stm/led.c b/stm/led.c
index 9809c21771..19ce99cecb 100644
--- a/stm/led.c
+++ b/stm/led.c
@@ -63,8 +63,8 @@ void led_init(void) {
/* Turn off LEDs */
PYB_LED_OFF(PYB_LED1_PORT, PYB_LED1_PIN);
PYB_LED_OFF(PYB_LED2_PORT, PYB_LED2_PIN);
- PYB_LED_OFF(PYB_LED3_PORT, PYB_LED1_PIN);
- PYB_LED_OFF(PYB_LED4_PORT, PYB_LED2_PIN);
+ PYB_LED_OFF(PYB_LED3_PORT, PYB_LED3_PIN);
+ PYB_LED_OFF(PYB_LED4_PORT, PYB_LED4_PIN);
/* Initialize LEDs */
GPIO_InitStructure.GPIO_Pin = PYB_LED1_PIN;