[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:
@@ -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
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user