diff --git a/src/fw/applib/graphics/graphics_circle.c b/src/fw/applib/graphics/graphics_circle.c index 388ee8c4..a28ee79f 100644 --- a/src/fw/applib/graphics/graphics_circle.c +++ b/src/fw/applib/graphics/graphics_circle.c @@ -891,7 +891,7 @@ static void prv_fill_oval_precise(GContext *ctx, GPointPrecise center, // Adjust to drawing_box offset int adjusted_center = center.y.integer + ctx->draw_state.drawing_box.origin.y; - // We add one to compenaste in case of odd line needs to be drawn + // We add one to compensate in case of odd line needs to be drawn int adjusted_top = adjusted_center - radius_outer_y.integer - 1; int adjusted_bottom = adjusted_center + radius_outer_y.integer + 1; diff --git a/tests/fw/ui/test_animation.c b/tests/fw/ui/test_animation.c index 0719570e..462bc13a 100644 --- a/tests/fw/ui/test_animation.c +++ b/tests/fw/ui/test_animation.c @@ -159,7 +159,7 @@ static uint64_t prv_now_ms(void) { static void prv_advance_by_ms_no_timers(uint64_t ms_delta) { uint64_t target_ms = prv_now_ms() + ms_delta; - // Comppensate for rounding errors + // Compensate for rounding errors uint64_t new_ticks = rtc_get_ticks() + (ms_delta * RTC_TICKS_HZ + 500 ) / 1000; uint64_t new_ms = (new_ticks * 1000 + RTC_TICKS_HZ / 2) / RTC_TICKS_HZ; if (new_ms == target_ms - 1) {