mirror of
https://github.com/google/pebble.git
synced 2025-04-30 15:21:41 -04:00
spelling: nonexistent
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
9985f1fdf3
commit
c2f7961747
8 changed files with 9 additions and 9 deletions
|
@ -393,7 +393,7 @@ static void prv_menu_layer_walk_downward_from_iterator(MenuIterator *it) {
|
|||
it->cursor.sep = prv_menu_layer_get_separator_height(it->menu_layer, &it->cursor.index);
|
||||
it->cursor.y = it->cell_bottom_y; // Bottom of previous cell is y of the next cell
|
||||
|
||||
// Don't leave space for the seperator for the (non-existent) row after the last row.
|
||||
// Don't leave space for the seperator for the (nonexistent) row after the last row.
|
||||
// This doesn't impact cell drawing in this loop (this condition will only trip on the last run).
|
||||
// But, other parts of the system rely on the cursor being set properly at the end of this iteration.
|
||||
if (it->cursor.index.row < num_rows_in_section - 1 || it->cursor.index.section < num_sections - 1) {
|
||||
|
|
|
@ -317,7 +317,7 @@ void bt_driver_handle_le_connection_handle_update_address_and_irk(const BleAddre
|
|||
GAPLEConnection *connection = gap_le_connection_by_device(&e->device);
|
||||
if (!connection) {
|
||||
PBL_LOG(LOG_LEVEL_ERROR,
|
||||
"Got address & IRK update for non-existent connection. "
|
||||
"Got address & IRK update for nonexistent connection. "
|
||||
"Old addr:"BT_DEVICE_ADDRESS_FMT, BT_DEVICE_ADDRESS_XPLODE(e->device.address));
|
||||
goto unlock;
|
||||
}
|
||||
|
|
|
@ -973,7 +973,7 @@ void ancs_handle_write_response(BLECharacteristic characteristic, BLEGATTError e
|
|||
prv_ancs_is_alive();
|
||||
}
|
||||
|
||||
// We asked for a non-existent notification, go to the next one
|
||||
// We asked for a nonexistent notification, go to the next one
|
||||
prv_reset_and_next();
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -325,7 +325,7 @@ bool dls_endpoint_send_data(DataLoggingSession *logging_session, const uint8_t *
|
|||
static void prv_dls_endpoint_handle_ack(uint8_t session_id) {
|
||||
DataLoggingSession *session = dls_list_find_by_session_id(session_id);
|
||||
if (session == NULL) {
|
||||
PBL_LOG_D(LOG_DOMAIN_DATA_LOGGING, LOG_LEVEL_WARNING, "Received ack for non-existent session id: %"PRIu8, session_id);
|
||||
PBL_LOG_D(LOG_DOMAIN_DATA_LOGGING, LOG_LEVEL_WARNING, "Received ack for nonexistent session id: %"PRIu8, session_id);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -363,7 +363,7 @@ static void prv_dls_endpoint_handle_nack(uint8_t session_id) {
|
|||
|
||||
DataLoggingSession *logging_session = dls_list_find_by_session_id(session_id);
|
||||
if (!logging_session) {
|
||||
PBL_LOG_D(LOG_DOMAIN_DATA_LOGGING, LOG_LEVEL_WARNING, "Received nack for non-existent session id: %"PRIu8, session_id);
|
||||
PBL_LOG_D(LOG_DOMAIN_DATA_LOGGING, LOG_LEVEL_WARNING, "Received nack for nonexistent session id: %"PRIu8, session_id);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -827,7 +827,7 @@ void test_gap_le_advert__invalid_params(void) {
|
|||
}
|
||||
|
||||
void test_gap_le_advert__unschedule_non_existent(void) {
|
||||
// Unscheduling non-existent job should be fine, should not crash:
|
||||
// Unscheduling nonexistent job should be fine, should not crash:
|
||||
gap_le_advert_unschedule((GAPLEAdvertisingJobRef)(uintptr_t) 0x1234);
|
||||
|
||||
// Unschedule callback should not have been called:
|
||||
|
|
|
@ -283,7 +283,7 @@ void test_reminder_db__bad_item(void) {
|
|||
cl_assert(S_SUCCESS != reminder_db_insert((uint8_t *)&bad_item.common.id, UUID_SIZE, (uint8_t *)&bad_item, sizeof(bad_item)));
|
||||
}
|
||||
|
||||
void test_reminder_db__read_nonexistant(void) {
|
||||
void test_reminder_db__read_nonexistent(void) {
|
||||
TimelineItem item = {{{0}}};
|
||||
cl_assert_equal_i(E_DOES_NOT_EXIST, reminder_db_read_item(&item, &bad_item.common.id));
|
||||
}
|
||||
|
|
|
@ -506,7 +506,7 @@ void test_voice_endpoint__handle_nlp_result(void) {
|
|||
cl_assert_equal_i(s_session_result, VoiceEndpointResultSuccess);
|
||||
cl_assert_equal_i(s_session_id, 0x2211);
|
||||
|
||||
// test non nexistent timestamp msg
|
||||
// test nonexistent timestamp msg
|
||||
nlp_result[8] = 1;
|
||||
s_session_id = 0;
|
||||
voice_endpoint_protocol_msg_callback(NULL, nlp_result, sizeof(nlp_result) - 7);
|
||||
|
|
Loading…
Add table
Reference in a new issue