diff --git a/applications/main/infrared/scenes/infrared_scene_start.c b/applications/main/infrared/scenes/infrared_scene_start.c index 32d357dc5..28aa384c4 100644 --- a/applications/main/infrared/scenes/infrared_scene_start.c +++ b/applications/main/infrared/scenes/infrared_scene_start.c @@ -71,7 +71,6 @@ bool infrared_scene_start_on_event(void* context, SceneManagerEvent event) { } else if( submenu_index == SubmenuIndexLearnNewRemote || submenu_index == SubmenuIndexLearnNewRemoteRaw) { - // enable automatic signal decoding if "Learn New Remote" // disable automatic signal decoding if "Learn New Remote (RAW)" infrared_worker_rx_enable_signal_decoding( diff --git a/applications/plugins/unitemp/sensors/BMP180.c b/applications/plugins/unitemp/sensors/BMP180.c index d17e78c09..e98c05ade 100644 --- a/applications/plugins/unitemp/sensors/BMP180.c +++ b/applications/plugins/unitemp/sensors/BMP180.c @@ -101,8 +101,7 @@ bool unitemp_BMP180_init(Sensor* sensor) { bmp180_instance->bmp180_cal.MC = (buff[18] << 8) | buff[19]; bmp180_instance->bmp180_cal.MD = (buff[20] << 8) | buff[21]; - -UNITEMP_DEBUG( + UNITEMP_DEBUG( "Sensor BMP180 (0x%02X) calibration values: %d, %d, %d, %d, %d, %d, %d, %d, %d, %d, %d", i2c_sensor->currentI2CAdr, bmp180_instance->bmp180_cal.AC1, diff --git a/applications/services/power/power_service/power.c b/applications/services/power/power_service/power.c index 824e6d4d4..cf71487b7 100644 --- a/applications/services/power/power_service/power.c +++ b/applications/services/power/power_service/power.c @@ -62,8 +62,9 @@ void power_draw_battery_callback(Canvas* canvas, void* context) { } else if( (power->displayBatteryPercentage == DISPLAY_BATTERY_BAR_PERCENT) && (power->state != PowerStateCharging) && // Default bar display with percentage - (power->info.voltage_battery_charging >= 4.2)) { // not looking nice with low voltage indicator - canvas_set_font(canvas, FontBatteryPercent); + (power->info.voltage_battery_charging >= + 4.2)) { // not looking nice with low voltage indicator + canvas_set_font(canvas, FontBatteryPercent); // align charge dispaly value with digits to draw uint8_t bar_charge = power->info.charge; @@ -153,7 +154,6 @@ void power_draw_battery_callback(Canvas* canvas, void* context) { canvas_draw_str_aligned( canvas, 16, 4, AlignCenter, AlignCenter, batteryPercentile); } else if(power->displayBatteryPercentage == DISPLAY_BATTERY_BAR_PERCENT) { - // clean-up default charging bar display canvas_set_color(canvas, ColorWhite); canvas_draw_box(canvas, 1, 1, 22, 6); diff --git a/applications/settings/desktop_settings/scenes/desktop_settings_scene_start.c b/applications/settings/desktop_settings/scenes/desktop_settings_scene_start.c index d0f295d8f..2d1d2f8a5 100644 --- a/applications/settings/desktop_settings/scenes/desktop_settings_scene_start.c +++ b/applications/settings/desktop_settings/scenes/desktop_settings_scene_start.c @@ -28,14 +28,8 @@ const uint32_t auto_lock_delay_value[AUTO_LOCK_DELAY_COUNT] = #define BATTERY_VIEW_COUNT 6 -const char* const battery_view_count_text[BATTERY_VIEW_COUNT] = { - "Bar", - "%", - "Inv. %", - "Retro 3", - "Retro 5", - "Bar %" -}; +const char* const battery_view_count_text[BATTERY_VIEW_COUNT] = + {"Bar", "%", "Inv. %", "Retro 3", "Retro 5", "Bar %"}; const uint32_t displayBatteryPercentage_value[BATTERY_VIEW_COUNT] = { DISPLAY_BATTERY_BAR, @@ -43,8 +37,7 @@ const uint32_t displayBatteryPercentage_value[BATTERY_VIEW_COUNT] = { DISPLAY_BATTERY_INVERTED_PERCENT, DISPLAY_BATTERY_RETRO_3, DISPLAY_BATTERY_RETRO_5, - DISPLAY_BATTERY_BAR_PERCENT -}; + DISPLAY_BATTERY_BAR_PERCENT}; static void desktop_settings_scene_start_var_list_enter_callback(void* context, uint32_t index) { DesktopSettingsApp* app = context;