Skip to content

Commit 4c822e8

Browse files
committed
Fixes clang formatting error for comment
1 parent de7238a commit 4c822e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/displayapp/screens/WatchFaceInfineat.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,9 @@ void WatchFaceInfineat::Refresh() {
435435
batteryPercentRemaining = batteryController.PercentRemaining();
436436
isCharging = batteryController.IsCharging();
437437
if (batteryController.IsCharging() && (xTaskGetTickCount() - chargingAnimationTick > pdMS_TO_TICKS(150))) { // Charging battery animation
438-
chargingBatteryPercent += 100 / lv_obj_get_height(logoPine); // Dividing 100 by the height gives the battery percentage required to shift the animation by 1 pixel
438+
chargingBatteryPercent +=
439+
100 /
440+
lv_obj_get_height(logoPine); // Dividing 100 by the height gives the battery percentage required to shift the animation by 1 pixel
439441
if (chargingBatteryPercent > 100) {
440442
chargingBatteryPercent = batteryPercentRemaining.Get();
441443
}

0 commit comments

Comments
 (0)