[FL-944] Preliminary BLE fix: leave PC4 unconfigured. Cleanup code. (#381)

* GPIO: disable CC1101 GD0 pin configuration. API HAL OS: enable sleep. Cleanup interrupts and gpio code.

* API HAL: disable deep sleep, add light sleep, use it instead.
This commit is contained in:
あく
2021-03-19 17:23:53 +03:00
committed by GitHub
parent 799bc89870
commit 4ae5bd3d75
9 changed files with 543 additions and 1141 deletions

View File

@@ -38,8 +38,8 @@ void api_hal_power_insomnia_exit();
/* Check if deep sleep availble */
bool api_hal_power_deep_available();
/* Go to deep sleep */
void api_hal_power_deep_sleep();
/* Go to sleep */
void api_hal_power_sleep();
/* Get predicted remaining battery capacity in percents */
uint8_t api_hal_power_get_pct();