aboutsummaryrefslogtreecommitdiff
path: root/ports/teensy/led.c
diff options
context:
space:
mode:
authorDamien George2018-02-14 10:52:45 +1100
committerDamien George2018-02-14 10:52:45 +1100
commite6235fe6470b0513000cb0206079be0b9975a122 (patch)
treee6bd6233d52f438e700eb7e4ce9bbfb0df800abb /ports/teensy/led.c
parentfa13e0d35bc6326fb87676e33a64864e47407a00 (diff)
teensy: Update GPIO speed consts to align with changes in stm32 port.
Diffstat (limited to 'ports/teensy/led.c')
-rw-r--r--ports/teensy/led.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/teensy/led.c b/ports/teensy/led.c
index add052fad..cf59dbd0a 100644
--- a/ports/teensy/led.c
+++ b/ports/teensy/led.c
@@ -33,7 +33,7 @@ void led_init(void) {
GPIO_InitTypeDef GPIO_InitStructure;
/* Configure I/O speed, mode, output type and pull */
- GPIO_InitStructure.Speed = GPIO_SPEED_LOW;
+ GPIO_InitStructure.Speed = GPIO_SPEED_FREQ_LOW;
GPIO_InitStructure.Mode = MICROPY_HW_LED_OTYPE;
GPIO_InitStructure.Pull = GPIO_NOPULL;