diff options
author | Rocco Marco Guglielmi <roccomarco.guglielmi@live.com> | 2016-03-14 22:20:28 +0000 |
---|---|---|
committer | Rocco Marco Guglielmi <roccomarco.guglielmi@live.com> | 2016-03-14 22:20:28 +0000 |
commit | 516ac1a7654591f4ed9fbbf3c5330027f5c10e50 (patch) | |
tree | 3ba680e1ac3086965b3083ed76ffaa410c68bad2 /demos/STM32/RT-STM32F334-DISCOVERY/main.c | |
parent | 3237ad67f64a1f7a9679d155a058821c18953348 (diff) | |
download | ChibiOS-516ac1a7654591f4ed9fbbf3c5330027f5c10e50.tar.gz ChibiOS-516ac1a7654591f4ed9fbbf3c5330027f5c10e50.tar.bz2 ChibiOS-516ac1a7654591f4ed9fbbf3c5330027f5c10e50.zip |
Improved comment related to Buck disabling, fixed wrong PLL Multiplier value
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9108 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32/RT-STM32F334-DISCOVERY/main.c')
-rw-r--r-- | demos/STM32/RT-STM32F334-DISCOVERY/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/demos/STM32/RT-STM32F334-DISCOVERY/main.c b/demos/STM32/RT-STM32F334-DISCOVERY/main.c index f39ea27eb..3379e92f1 100644 --- a/demos/STM32/RT-STM32F334-DISCOVERY/main.c +++ b/demos/STM32/RT-STM32F334-DISCOVERY/main.c @@ -61,8 +61,13 @@ int main(void) { halInit();
chSysInit();
+ /*
+ * Turning off buck switch. Note that this means to completely turn of the
+ * High Brightness LED which is driven by the buck converter.
+ */
palSetLineMode(LINE_BK_Drive, PAL_MODE_OUTPUT_PUSHPULL);
palClearLine(LINE_BK_Drive);
+
/*
* Activates the serial driver 2 using the driver default configuration.
*/
|