diff python/stm32f4/burn2.c3 @ 268:5ec7580976d9

Op naar tree-IR
author Windel Bouwman
date Wed, 14 Aug 2013 20:12:40 +0200
parents ed14e077124c
children
line wrap: on
line diff
--- a/python/stm32f4/burn2.c3	Mon Aug 12 20:14:47 2013 +0200
+++ b/python/stm32f4/burn2.c3	Wed Aug 14 20:12:40 2013 +0200
@@ -24,7 +24,7 @@
     var int pin;
     pin = 15;
     // PD13 == output (01)
-    GPIOD->MODER = (1 << (pin << 1));
+    GPIOD->MODER = (1 << (pin * 2));
     GPIOD->ODR = (1 << pin);
 }