From f257b7ae1fefc0f7b307788e643f25a5d2f66b1d Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 15:50:02 -0500 Subject: [PATCH] spelling: timestamp Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/fw/apps/system_apps/health/health_hr_summary_card.c | 4 ++-- .../services/normal/notifications/ancs/ancs_notifications.c | 2 +- tests/fw/services/blob_db/test_reminder_db.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/fw/apps/system_apps/health/health_hr_summary_card.c b/src/fw/apps/system_apps/health/health_hr_summary_card.c index cf44ec64..308edfad 100644 --- a/src/fw/apps/system_apps/health/health_hr_summary_card.c +++ b/src/fw/apps/system_apps/health/health_hr_summary_card.c @@ -134,7 +134,7 @@ static void prv_render_bpm(GContext *ctx, Layer *base_layer) { graphics_text_node_destroy(&container->node); } -static void prv_render_timstamp(GContext *ctx, Layer *base_layer) { +static void prv_render_timestamp(GContext *ctx, Layer *base_layer) { HealthHrSummaryCardData *data = layer_get_data(base_layer); if (data->last_updated <= 0 || data->now_bpm == 0) { @@ -189,7 +189,7 @@ static void prv_base_layer_update_proc(Layer *base_layer, GContext *ctx) { prv_render_bpm(ctx, base_layer); - prv_render_timstamp(ctx, base_layer); + prv_render_timestamp(ctx, base_layer); } static void prv_hr_detail_card_unload_callback(Window *window) { diff --git a/src/fw/services/normal/notifications/ancs/ancs_notifications.c b/src/fw/services/normal/notifications/ancs/ancs_notifications.c index 4d0a6e42..a52817f6 100644 --- a/src/fw/services/normal/notifications/ancs/ancs_notifications.c +++ b/src/fw/services/normal/notifications/ancs/ancs_notifications.c @@ -193,7 +193,7 @@ static bool prv_should_ignore_because_stale(time_t timestamp) { // workaround for PBL-8400 (ignore notifications older than 2 hours) // PBL-9066: Increased to 20 minutes due to Mail.app only fetching emails every 15 minutes // PBL-9251: Increased to 2 hours. People have Fetch set to hourly. - // PBL-12726: Added a check to see if the timstamp is coming from a location based reminder + // PBL-12726: Added a check to see if the timestamp is coming from a location based reminder // This work-around is causing more trouble than the problem it was solving... if (timestamp < (now - MAXIMUM_NOTIFY_TIME) && timestamp != INVALID_TIME) { PBL_LOG(LOG_LEVEL_INFO, "Not presenting stale notif (ts=%ld)", timestamp); diff --git a/tests/fw/services/blob_db/test_reminder_db.c b/tests/fw/services/blob_db/test_reminder_db.c index 41febbb0..7ab8b630 100644 --- a/tests/fw/services/blob_db/test_reminder_db.c +++ b/tests/fw/services/blob_db/test_reminder_db.c @@ -301,7 +301,7 @@ void test_reminder_db__find_by_timestamp_title(void) { cl_assert_equal_b(reminder_db_find_by_timestamp_title(0, "nonexistent title", NULL, &reminder), false); - // Test matching timstamp, but not title + // Test matching timestamp, but not title cl_assert_equal_b(reminder_db_find_by_timestamp_title(title_item1.header.timestamp, "nonexistent title", NULL, &reminder), false);