mirror of
https://github.com/google/pebble.git
synced 2025-04-30 15:21:41 -04:00
spelling: coming
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
d8ade6b665
commit
726d92f563
5 changed files with 6 additions and 6 deletions
|
@ -72,7 +72,7 @@ uint32_t pb_storage_calculate_crc(PutBytesStorage *storage, PutBytesCrcType crc_
|
|||
//! @param object_type the type of putbyte object we're about to store
|
||||
//! @param total_size the size of the incoming object, in bytes
|
||||
//! @param append_offset if != 0, this means we are continuing a PB operation that previously failed
|
||||
//! for some reason. The incomming writes will start at this offset
|
||||
//! for some reason. The incoming writes will start at this offset
|
||||
//! @param info additional information about the data (see PutBytesStorageInfo).
|
||||
bool pb_storage_init(PutBytesStorage *storage, PutBytesObjectType object_type,
|
||||
uint32_t total_size, PutBytesStorageInfo *info, uint32_t append_offset);
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
//! - The watch gets PP messages (parsed in phone_pp.c), which come in as events happen.
|
||||
//! - The watch can decline / hangup the call by sending PP messages to the phone.
|
||||
//! On iOS:
|
||||
//! - The watch gets incomming calls from ANCS (parsed in ancs_notifications.c).
|
||||
//! - The watch gets incoming calls from ANCS (parsed in ancs_notifications.c).
|
||||
//! - After that the watch must poll the phone for its status if not iOS 9+ (using PP messages).
|
||||
//! - On iOS 9, ANCS tells us when the phone stops ringing
|
||||
//! - The watch can pickup / decline a call using ANCS actions
|
||||
|
@ -111,7 +111,7 @@ static bool prv_should_show_ongoing_call_ui(void) {
|
|||
return (s_call_source == PhoneCallSource_PP);
|
||||
}
|
||||
|
||||
// hangup != decline. Decline == reject incomming call, Hangup == stop in progress call
|
||||
// hangup != decline. Decline == reject incoming call, Hangup == stop in progress call
|
||||
static bool prv_can_hangup(void) {
|
||||
// We can't hangup with iOS
|
||||
return !prv_call_is_ancs();
|
||||
|
|
|
@ -142,7 +142,7 @@ void test_ancs_notifications__handle_phone_call_message(void) {
|
|||
|
||||
ancs_notifications_handle_message(37, properties, notif_attributes, app_attributes);
|
||||
|
||||
// We just processed an incomming phone call event, there better be a phone event scheduled!
|
||||
// We just processed an incoming phone call event, there better be a phone event scheduled!
|
||||
PebbleEvent event = fake_event_get_last();
|
||||
|
||||
cl_assert_equal_i(event.type, PEBBLE_PHONE_EVENT);
|
||||
|
|
|
@ -601,7 +601,7 @@ void test_sprintf__percent_n(void) {
|
|||
snprintf(dstbuf, 256, "%n", &val);
|
||||
cl_assert_equal_i(val, 0);
|
||||
|
||||
snprintf(dstbuf, 256, "Incredible mechanical monster%n comming soon%n!!", &val, &val2);
|
||||
snprintf(dstbuf, 256, "Incredible mechanical monster%n coming soon%n!!", &val, &val2);
|
||||
cl_assert_equal_i(val, 29);
|
||||
cl_assert_equal_i(val2, 42);
|
||||
|
||||
|
|
|
@ -694,7 +694,7 @@ if __name__ == '__main__':
|
|||
# Collect our command line arguments
|
||||
parser = argparse.ArgumentParser(formatter_class=argparse.ArgumentDefaultsHelpFormatter)
|
||||
parser.add_argument('--port', type=int, default=1233,
|
||||
help="Port to accept incomming connections on")
|
||||
help="Port to accept incoming connections on")
|
||||
parser.add_argument('--target', default='localhost:1234',
|
||||
help="target to connect to ")
|
||||
parser.add_argument('--connect_timeout', type=float, default=1.0,
|
||||
|
|
Loading…
Add table
Reference in a new issue