diff --git a/src/fw/applib/ui/menu_layer_system_cells.c b/src/fw/applib/ui/menu_layer_system_cells.c index 3a2a82a9..a8dacbda 100644 --- a/src/fw/applib/ui/menu_layer_system_cells.c +++ b/src/fw/applib/ui/menu_layer_system_cells.c @@ -283,12 +283,12 @@ static ALWAYS_INLINE GRect prv_menu_cell_basic_draw_custom_one_column_round( const bool can_use_two_lines_for_title = !(render_subtitle || render_icon); const bool can_use_many_lines_for_title = (config->overflow_mode == GTextOverflowModeWordWrap); - const int16_t intitial_title_text_lines = can_use_two_lines_for_title ? 2 : 1; + const int16_t initial_title_text_lines = can_use_two_lines_for_title ? 2 : 1; int16_t title_text_frame_height = can_use_many_lines_for_title ? graphics_text_layout_get_text_height(ctx, config->title, title_font, cell_layer_bounds_size.w, config->overflow_mode, text_alignment) - : title_font_height * intitial_title_text_lines; + : title_font_height * initial_title_text_lines; const int title_text_cap_offset = (config->title) ? fonts_get_font_cap_offset(title_font) : 0; int16_t container_height = title_text_frame_height + subtitle_text_frame_height; diff --git a/src/fw/comm/internals/bt_conn_mgr.c b/src/fw/comm/internals/bt_conn_mgr.c index 442821e4..5912d24f 100644 --- a/src/fw/comm/internals/bt_conn_mgr.c +++ b/src/fw/comm/internals/bt_conn_mgr.c @@ -249,7 +249,7 @@ void conn_mgr_set_ble_conn_response_time_ext( uint16_t max_period_secs, ResponsivenessGrantedHandler granted_handler) { ConnectionMgrInfo *conn_mgr_info; if (!hdl || !((conn_mgr_info = hdl->conn_mgr_info))) { - PBL_LOG(LOG_LEVEL_ERROR, "GAP Handle not properly intialized"); + PBL_LOG(LOG_LEVEL_ERROR, "GAP Handle not properly initialized"); return; } diff --git a/src/fw/services/normal/process_management/process_loader_storage.c b/src/fw/services/normal/process_management/process_loader_storage.c index b8b34b1d..48bb9ed1 100644 --- a/src/fw/services/normal/process_management/process_loader_storage.c +++ b/src/fw/services/normal/process_management/process_loader_storage.c @@ -53,7 +53,7 @@ static void * prv_offset_to_address(MemorySegment *segment, size_t offset) { } // --------------------------------------------------------------------------------------------- -static bool prv_intialize_sdk_process(PebbleTask task, const PebbleProcessInfo *info, +static bool prv_initialize_sdk_process(PebbleTask task, const PebbleProcessInfo *info, MemorySegment *destination) { if (!prv_verify_checksum(info, destination->start)) { PBL_LOG(LOG_LEVEL_DEBUG, "Calculated CRC does not match, aborting..."); @@ -128,7 +128,7 @@ static bool prv_load_from_flash(const PebbleProcessMd *app_md, PebbleTask task, } pfs_close(fd); - return prv_intialize_sdk_process(task, &info, destination); + return prv_initialize_sdk_process(task, &info, destination); } // ---------------------------------------------------------------------------------------------- @@ -156,7 +156,7 @@ static bool prv_load_from_resource(const PebbleProcessMdResource *app_md, destination->start, load_size) == load_size); // Process the relocation entries - return prv_intialize_sdk_process(task, &info, destination); + return prv_initialize_sdk_process(task, &info, destination); } void * process_loader_load(const PebbleProcessMd *app_md, PebbleTask task, diff --git a/src/fw/services/prf/accessory/accessory_mfg_mode.h b/src/fw/services/prf/accessory/accessory_mfg_mode.h index df1dbf5b..f594e604 100644 --- a/src/fw/services/prf/accessory/accessory_mfg_mode.h +++ b/src/fw/services/prf/accessory/accessory_mfg_mode.h @@ -18,7 +18,7 @@ #include -//! Call this as you're just entering manufacturing mode to do initalial setup. +//! Call this as you're just entering manufacturing mode to do initial setup. void accessory_mfg_mode_start(void); //! Called on an ISR to handle a character from the accessory connector. diff --git a/tests/fw/javascript/test_rocky_api_graphics.c b/tests/fw/javascript/test_rocky_api_graphics.c index 0e5b9193..99d42b98 100644 --- a/tests/fw/javascript/test_rocky_api_graphics.c +++ b/tests/fw/javascript/test_rocky_api_graphics.c @@ -606,7 +606,7 @@ void test_rocky_api_graphics__fill_text_aligned(void) { void test_rocky_api_graphics__text_align(void) { prv_global_init_and_set_ctx(); - // intial value + // initial value cl_assert_equal_i(GTextAlignmentLeft, s_rocky_text_state.alignment); s_rocky_text_state.alignment = (GTextAlignment)-1;