From 3572d429b279f316cc53c3ef5b79b52b4c95e49f Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 15:23:51 -0500 Subject: [PATCH] spelling: overridden Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- platform/robert/boot/src/vector_table.c | 2 +- src/fw/applib/ui/window_private.h | 2 +- src/fw/apps/demo_apps/click_app.c | 4 ++-- src/fw/vector_table.c | 2 +- tests/fw/services/test_do_not_disturb.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/platform/robert/boot/src/vector_table.c b/platform/robert/boot/src/vector_table.c index c861e100..c488d71f 100644 --- a/platform/robert/boot/src/vector_table.c +++ b/platform/robert/boot/src/vector_table.c @@ -53,7 +53,7 @@ __attribute__((__noreturn__)) void Default_Handler(void) { // All these functions are weak references to the Default_Handler, // so if we define a handler in elsewhere in the firmware, these -// will be overriden +// will be overridden #define ALIAS(sym) __attribute__((__weak__, __alias__(sym))) ALIAS("Default_Handler") void NMI_Handler(void); ALIAS("Default_Handler") void HardFault_Handler(void); diff --git a/src/fw/applib/ui/window_private.h b/src/fw/applib/ui/window_private.h index a5e4097a..82538ba4 100644 --- a/src/fw/applib/ui/window_private.h +++ b/src/fw/applib/ui/window_private.h @@ -50,7 +50,7 @@ GRect window_calc_frame(bool fullscreen); bool window_has_status_bar(Window *window); //! @param window Pointer to the \ref Window to set -//! @param overrides_back_button Boolean indicating if the back button has been overriden +//! @param overrides_back_button Boolean indicating if the back button has been overridden //! in the \ref ClickConfigProvidier of the passed \ref Window void window_set_overrides_back_button(Window *window, bool overrides_back_button); diff --git a/src/fw/apps/demo_apps/click_app.c b/src/fw/apps/demo_apps/click_app.c index b2cea379..6360aead 100644 --- a/src/fw/apps/demo_apps/click_app.c +++ b/src/fw/apps/demo_apps/click_app.c @@ -117,7 +117,7 @@ static void config_provider(Window *window) { // See ui/click.h for more information and default values. // single click / repeat-on-hold config: - window_single_repeating_click_subscribe(BUTTON_ID_SELECT, 1000, (ClickHandler)select_single_click_handler); // "hold-to-repeat" gets overriden if there's a long click handler configured! + window_single_repeating_click_subscribe(BUTTON_ID_SELECT, 1000, (ClickHandler)select_single_click_handler); // "hold-to-repeat" gets overridden if there's a long click handler configured! // multi click config: window_multi_click_subscribe(BUTTON_ID_SELECT, 2, 10, 0, false, (ClickHandler) select_multi_click_handler); @@ -126,7 +126,7 @@ static void config_provider(Window *window) { window_long_click_subscribe(BUTTON_ID_SELECT, 700, (ClickHandler) select_long_click_handler, (ClickHandler) select_long_click_release_handler); // single click / repeat-on-hold config: - window_single_repeating_click_subscribe(BUTTON_ID_UP, 1000, (ClickHandler) select_single_click_handler); // "hold-to-repeat" gets overriden if there's a long click handler configured! + window_single_repeating_click_subscribe(BUTTON_ID_UP, 1000, (ClickHandler) select_single_click_handler); // "hold-to-repeat" gets overridden if there's a long click handler configured! // multi click config: window_multi_click_subscribe(BUTTON_ID_UP, 2, 10, 0, true, (ClickHandler) select_multi_click_handler); diff --git a/src/fw/vector_table.c b/src/fw/vector_table.c index 989417d1..98dd01d8 100644 --- a/src/fw/vector_table.c +++ b/src/fw/vector_table.c @@ -32,7 +32,7 @@ void Default_Handler(void) { // All these functions are weak references to the Default_Handler, // so if we define a handler in elsewhere in the firmware, these -// will be overriden +// will be overridden ALIAS("Default_Handler") void NMI_Handler(void); ALIAS("Default_Handler") void HardFault_Handler(void); ALIAS("Default_Handler") void MemManage_Handler(void); diff --git a/tests/fw/services/test_do_not_disturb.c b/tests/fw/services/test_do_not_disturb.c index 623c2fc0..231faafb 100644 --- a/tests/fw/services/test_do_not_disturb.c +++ b/tests/fw/services/test_do_not_disturb.c @@ -321,7 +321,7 @@ void test_do_not_disturb__disabling_manual_dnd_should_override_scheduled(void) { active = do_not_disturb_is_active(); cl_assert(active == true); // Both OFF - do_not_disturb_set_manually_enabled(false); // turned Manual OFF, scheduled should be overriden + do_not_disturb_set_manually_enabled(false); // turned Manual OFF, scheduled should be overridden cl_assert(do_not_disturb_is_manually_enabled() == false); cl_assert(do_not_disturb_is_schedule_enabled(WeekdaySchedule) == true); active = do_not_disturb_is_active();