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
This commit is contained in:
Rocco Marco Guglielmi 2016-03-14 22:20:28 +00:00
parent 3237ad67f6
commit 516ac1a765
2 changed files with 6 additions and 1 deletions

View File

@ -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.
*/

View File

@ -46,7 +46,7 @@
#define STM32_SW STM32_SW_PLL
#define STM32_PLLSRC STM32_PLLSRC_HSI
#define STM32_PREDIV_VALUE 1
#define STM32_PLLMUL_VALUE 12
#define STM32_PLLMUL_VALUE 9
#define STM32_HPRE STM32_HPRE_DIV1
#define STM32_PPRE1 STM32_PPRE1_DIV2
#define STM32_PPRE2 STM32_PPRE2_DIV2