diff options
Diffstat (limited to 'gpio')
-rw-r--r-- | gpio/pin.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -86,7 +86,9 @@ class Pin { } void set_speed(Speed s) { + #if defined(STM32F4) g.OSPEEDR = (g.OSPEEDR & ~(3 << (n * 2))) | s << (n * 2); + #endif } void on() { |