From 2efa9cc1704ff7162c357d5a519491a08263268c Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 11:08:04 -0500 Subject: [PATCH] spelling: id Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/fw/debug/legacy/debug_db.c | 2 +- src/fw/kernel/system_versions.c | 4 ++-- src/fw/services/normal/blob_db/api.c | 2 +- src/fw/services/normal/notifications/notification_types.h | 2 +- src/fw/services/normal/protobuf_log/protobuf_log.c | 2 +- src/fw/services/normal/timeline/reminders.h | 2 +- src/fw/services/normal/timeline/timeline_resources.h | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/fw/debug/legacy/debug_db.c b/src/fw/debug/legacy/debug_db.c index b45d2585..2bb9cc03 100644 --- a/src/fw/debug/legacy/debug_db.c +++ b/src/fw/debug/legacy/debug_db.c @@ -181,7 +181,7 @@ bool debug_db_is_generation_valid(int file_generation) { } if (file_header.file_id != (s_current_file_id - file_generation)) { - PBL_LOG(LOG_LEVEL_DEBUG, "Id: %"PRIu8" Expected: %u", file_header.file_id, (s_current_file_id - file_generation)); + PBL_LOG(LOG_LEVEL_DEBUG, "ID: %"PRIu8" Expected: %u", file_header.file_id, (s_current_file_id - file_generation)); return false; } diff --git a/src/fw/kernel/system_versions.c b/src/fw/kernel/system_versions.c index 62670612..c05ac292 100644 --- a/src/fw/kernel/system_versions.c +++ b/src/fw/kernel/system_versions.c @@ -211,7 +211,7 @@ void command_version_info(void) { char build_id_string[64]; version_copy_current_build_id_hex_string(build_id_string, sizeof(build_id_string)); - prompt_send_response_fmt(buffer, sizeof(buffer), "Build Id:%s", build_id_string); + prompt_send_response_fmt(buffer, sizeof(buffer), "Build ID:%s", build_id_string); char serial_number[MFG_SERIAL_NUMBER_SIZE + 1]; mfg_info_get_serialnumber(serial_number, sizeof(serial_number)); @@ -239,7 +239,7 @@ void command_version_info(void) { pmic_read_chip_info(&chip_id, &chip_revision, &buck1_vset); prompt_send_response_fmt(buffer, sizeof(buffer), - "PMIC Chip Id: 0x%"PRIx8" Chip Rev: 0x%"PRIx8" Buck1 VSET: 0x%"PRIx8, + "PMIC Chip ID: 0x%"PRIx8" Chip Rev: 0x%"PRIx8" Buck1 VSET: 0x%"PRIx8, chip_id, chip_revision, buck1_vset); #endif // CAPABILITY_HAS_PMIC diff --git a/src/fw/services/normal/blob_db/api.c b/src/fw/services/normal/blob_db/api.c index d694856e..4503f4e2 100644 --- a/src/fw/services/normal/blob_db/api.c +++ b/src/fw/services/normal/blob_db/api.c @@ -290,7 +290,7 @@ status_t blob_db_flush(BlobDBId db_id) { if (db->flush) { status_t rv = db->flush(); if (rv == S_SUCCESS) { - PBL_LOG(LOG_LEVEL_INFO, "Flushing BlobDB with Id %d", db_id); + PBL_LOG(LOG_LEVEL_INFO, "Flushing BlobDB with ID %d", db_id); blob_db_event_put(BlobDBEventTypeFlush, db_id, NULL, 0); } return rv; diff --git a/src/fw/services/normal/notifications/notification_types.h b/src/fw/services/normal/notifications/notification_types.h index 31e9a52e..ed81cdb3 100644 --- a/src/fw/services/normal/notifications/notification_types.h +++ b/src/fw/services/normal/notifications/notification_types.h @@ -27,7 +27,7 @@ typedef enum { NotificationReminder = (1 << 3) } NotificationType; -//! Type and Id for the notification or reminder. +//! Type and ID for the notification or reminder. typedef struct { NotificationType type; Uuid id; diff --git a/src/fw/services/normal/protobuf_log/protobuf_log.c b/src/fw/services/normal/protobuf_log/protobuf_log.c index 8476f2f0..c4264446 100644 --- a/src/fw/services/normal/protobuf_log/protobuf_log.c +++ b/src/fw/services/normal/protobuf_log/protobuf_log.c @@ -133,7 +133,7 @@ static bool prv_populate_payload(ProtobufLogConfig *config, size_t buffer_len, u const char *version_patch_ptr; version_get_major_minor_patch(&v_major, &v_minor, &version_patch_ptr); - // Sender Id + // Sender ID const char *watch_serial = mfg_get_serial_number(); pebble_pipeline_Payload payload = { diff --git a/src/fw/services/normal/timeline/reminders.h b/src/fw/services/normal/timeline/reminders.h index d357d0e4..27d54844 100644 --- a/src/fw/services/normal/timeline/reminders.h +++ b/src/fw/services/normal/timeline/reminders.h @@ -37,7 +37,7 @@ status_t reminders_insert(Reminder *reminder); status_t reminders_init(void); //! Delete a reminder -//! @param reminder_id pointer to an Id of the reminder to be deleted +//! @param reminder_id pointer to an ID of the reminder to be deleted //! @return S_SUCCESS or appropriate error status_t reminders_delete(ReminderId *reminder_id); diff --git a/src/fw/services/normal/timeline/timeline_resources.h b/src/fw/services/normal/timeline/timeline_resources.h index 667df9b0..a9b059db 100644 --- a/src/fw/services/normal/timeline/timeline_resources.h +++ b/src/fw/services/normal/timeline/timeline_resources.h @@ -78,8 +78,8 @@ static inline GSize timeline_resources_get_gsize(TimelineResourceSize size) { } } -//! Tests if a given timeline resource id is a system resource -//! @param timeline_id Id of the timeline resource to test +//! Tests if a given timeline resource ID is a system resource +//! @param timeline_id ID of the timeline resource to test //! @return `true` if system resource, `false` if not bool timeline_resources_is_system(TimelineResourceId timeline_id);