summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/main.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-22 23:54:13 +0000
committerDamien George <damien.p.george@gmail.com>2014-03-22 23:54:13 +0000
commit908a670dfc44111c1c1f3fdee0ebb7471c2ef079 (patch)
treef6971b2c7feb93ad38c224d93a8d75f645f86087 /stmhal/main.c
parent02fa0358005fed02e989e7b1ad9b31f7a9ae8637 (diff)
downloadmicropython-908a670dfc44111c1c1f3fdee0ebb7471c2ef079.tar.gz
micropython-908a670dfc44111c1c1f3fdee0ebb7471c2ef079.zip
stmhal: Add intensity method for blue LED.
As part of this, rejig the way TIM3 is initialised, since it's now shared by USB CDC and the blue LED PWM.
Diffstat (limited to 'stmhal/main.c')
-rw-r--r--stmhal/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/stmhal/main.c b/stmhal/main.c
index 6511891a1b..9d88206978 100644
--- a/stmhal/main.c
+++ b/stmhal/main.c
@@ -37,10 +37,10 @@
#include "lcd.h"
#include "accel.h"
#include "servo.h"
+#include "pin.h"
#if 0
#include "timer.h"
#include "pybwlan.h"
-#include "pin.h"
#endif
void SystemClock_Config(void);
@@ -266,9 +266,7 @@ soft_reset:
#endif
#endif
-#if 0
pin_map_init();
-#endif
// add some functions to the builtin Python namespace
rt_store_name(MP_QSTR_help, rt_make_function_n(0, pyb_help));