[FL-952] I2C: correctly handle STOP flags. Apps: increase cli_app stack size. (#408)

* I2C: correctly handle STOP flags. Apps: increase cli_app stack size.
* API HAL Power: simplify api_hal_power_dump_state. Format sources.
This commit is contained in:
あく
2021-04-12 21:09:38 +03:00
committed by GitHub
parent 5d08b35b54
commit 616b7325c6
9 changed files with 70 additions and 38 deletions

View File

@@ -36,7 +36,7 @@ int32_t keypad_test(void* p);
const FlipperApplication FLIPPER_SERVICES[] = {
#ifdef APP_CLI
{.app = cli_task, .name = "cli_task", .stack_size = 1024, .icon = A_Plugins_14},
{.app = cli_task, .name = "cli_task", .stack_size = 2048, .icon = A_Plugins_14},
#endif
#ifdef APP_EXAMPLE_BLINK

View File

@@ -156,11 +156,7 @@ void power_cli_dfu(string_t args, void* context) {
}
void power_cli_test(string_t args, void* context) {
string_t buffer;
string_init(buffer);
api_hal_power_dump_state(buffer);
printf(string_get_cstr(buffer));
string_clear(buffer);
api_hal_power_dump_state();
}
void power_cli_otg_on(string_t args, void* context) {