summaryrefslogtreecommitdiff
path: root/stm/led.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm/led.c')
-rw-r--r--stm/led.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/led.c b/stm/led.c
index 1377a8407..a48ccf5f0 100644
--- a/stm/led.c
+++ b/stm/led.c
@@ -9,7 +9,7 @@
#define PYB_LED_G1_PIN (GPIO_Pin_4)
#define PYB_LED_G2_PIN (GPIO_Pin_5)
-void led_init() {
+void led_init(void) {
// set the output high (so LED is off)
PYB_LED_R_PORT->BSRRL = PYB_LED_R1_PIN;
PYB_LED_R_PORT->BSRRL = PYB_LED_R2_PIN;