API HAL Power: enable smps by default (#324)

This commit is contained in:
あく 2021-02-04 15:20:27 +03:00 committed by GitHub
parent 2187dc7117
commit 9642f0d529
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,7 @@ void HAL_RCC_CSSCallback(void) {
}
void api_hal_power_init() {
LL_PWR_SMPS_SetMode(LL_PWR_SMPS_STEP_DOWN);
bq27220_init();
bq25896_init();
}