Power subsystem improvements and bug fixes (#353)

* BT: render icon statically.
* Move API HAL Power init call to api_hal_init.
* API HAL Power: replace stop2 mode with stop1 to ensure usb and lptim2 proper work.
This commit is contained in:
あく
2021-02-25 13:22:46 +03:00
committed by GitHub
parent a0db2986b5
commit 1b2c31da6f
7 changed files with 6 additions and 10 deletions

View File

@@ -199,8 +199,6 @@ int32_t power_task(void* p) {
with_value_mutex(
power->menu_vm, (Menu * menu) { menu_item_add(menu, power->menu); });
api_hal_power_init();
furi_record_create("power", power);
while(1) {