From 1114914d33b3fe69a14529d7ae94a202be30cc03 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 12:40:59 -0500 Subject: [PATCH] spelling: arbitrarily Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/fw/services/normal/notifications/ancs/ancs_item.c | 2 +- tests/libutil/test_string.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fw/services/normal/notifications/ancs/ancs_item.c b/src/fw/services/normal/notifications/ancs/ancs_item.c index cca554c7..2c32e88c 100644 --- a/src/fw/services/normal/notifications/ancs/ancs_item.c +++ b/src/fw/services/normal/notifications/ancs/ancs_item.c @@ -399,7 +399,7 @@ TimelineItem *ancs_item_create_and_populate(ANCSAttribute *notif_attributes[], int num_native_actions = (positive_action ? 1 : 0) + (negative_action ? 1 : 0); int num_actions = num_native_actions + num_pebble_actions; - const int max_num_actions = 8; // Arbitratily chosen + const int max_num_actions = 8; // Arbitrarily chosen uint8_t attributes_per_action[max_num_actions]; int action_idx = 0; diff --git a/tests/libutil/test_string.c b/tests/libutil/test_string.c index a107f83c..8fbffb92 100644 --- a/tests/libutil/test_string.c +++ b/tests/libutil/test_string.c @@ -109,7 +109,7 @@ void test_string__test_itoa_int(void) { } void test_string__test_byte_stream_to_hex_string(void) { - char result_buf[256]; // arbitraily large + char result_buf[256]; // arbitrarily large const uint8_t byte_stream[10] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; const char *expected_result_fwd = "00010203040506070809";