diff --git a/src/fw/applib/legacy2/ui/property_animation_legacy2.h b/src/fw/applib/legacy2/ui/property_animation_legacy2.h index 3e6b5dcb..6216a32e 100644 --- a/src/fw/applib/legacy2/ui/property_animation_legacy2.h +++ b/src/fw/applib/legacy2/ui/property_animation_legacy2.h @@ -68,7 +68,7 @@ //! __type__ value);` //! See \ref Int16Getter, \ref Int16Setter, \ref GPointGetter, \ref GPointSetter, \ref GRectGetter, //! \ref GRectSetter -//! for the typedefs that accompany the update fuctions. +//! for the typedefs that accompany the update functions. //! //! \code{.c} //! static const PropertyAnimationLegacy2Implementation my_implementation = { diff --git a/src/fw/applib/ui/property_animation.h b/src/fw/applib/ui/property_animation.h index 8d608753..6c1492fb 100644 --- a/src/fw/applib/ui/property_animation.h +++ b/src/fw/applib/ui/property_animation.h @@ -57,7 +57,7 @@ //! Any setter needs to have to following function signature: `void setter(void *subject, //! __type__ value);` //! See \ref Int16Getter, \ref Int16Setter, \ref GPointGetter, \ref GPointSetter, -//! \ref GRectGetter, \ref GRectSetter for the typedefs that accompany the update fuctions. +//! \ref GRectGetter, \ref GRectSetter for the typedefs that accompany the update functions. //! //! \code{.c} //! static const PropertyAnimationImplementation my_implementation = { diff --git a/src/fw/comm/ble/gap_le_connect.c b/src/fw/comm/ble/gap_le_connect.c index f0af984e..8e13893e 100644 --- a/src/fw/comm/ble/gap_le_connect.c +++ b/src/fw/comm/ble/gap_le_connect.c @@ -156,8 +156,8 @@ static const GAPLERole s_current_role = GAPLERoleSlave; // Function prototypes typedef void (*IntentApply)(GAPLEConnectionIntent *intent, void *data); -static void prv_apply_fuction_to_intents_matching_connection(const GAPLEConnection *connection, - IntentApply fp, void *data); +static void prv_apply_function_to_intents_matching_connection(const GAPLEConnection *connection, + IntentApply fp, void *data); static bool prv_intent_matches_connection(const GAPLEConnectionIntent *intent, const GAPLEConnection *connection); @@ -238,7 +238,7 @@ static void prv_build_task_mask_cb(GAPLEConnectionIntent *intent, void *data) { PebbleTaskBitset gap_le_connect_task_mask_for_connection(const GAPLEConnection *connection) { const PebbleTaskBitset task_mask_none = ~0; PebbleTaskBitset task_mask = task_mask_none; - prv_apply_fuction_to_intents_matching_connection(connection, prv_build_task_mask_cb, &task_mask); + prv_apply_function_to_intents_matching_connection(connection, prv_build_task_mask_cb, &task_mask); return task_mask; } @@ -542,8 +542,8 @@ void bt_driver_handle_le_disconnection_complete_event(const BleDisconnectionComp // ------------------------------------------------------------------------------------------------- //! Convenience function to apply a function to each intent matching or resolving to a device //! bt_lock is assumed to be taken before calling this function. -static void prv_apply_fuction_to_intents_matching_connection(const GAPLEConnection *connection, - IntentApply fp, void *data) { +static void prv_apply_function_to_intents_matching_connection(const GAPLEConnection *connection, + IntentApply fp, void *data) { GAPLEConnectionIntent *intent = s_intents; while (intent) { GAPLEConnectionIntent *next = (GAPLEConnectionIntent *) intent->node.next; @@ -590,8 +590,8 @@ void bt_driver_handle_le_encryption_change_event(const BleEncryptionChange *even bt_driver_pebble_pairing_service_handle_status_change(connection); } - prv_apply_fuction_to_intents_matching_connection(connection, - prv_send_clients_encrypted_event, NULL); + prv_apply_function_to_intents_matching_connection(connection, + prv_send_clients_encrypted_event, NULL); unlock: bt_unlock(); } diff --git a/src/fw/services/normal/accessory/smartstrap_profiles.h b/src/fw/services/normal/accessory/smartstrap_profiles.h index df96f91a..7eefebc4 100644 --- a/src/fw/services/normal/accessory/smartstrap_profiles.h +++ b/src/fw/services/normal/accessory/smartstrap_profiles.h @@ -71,7 +71,7 @@ typedef struct { typedef const SmartstrapProfileInfo *(*SmartstrapProfileGetInfoFunc)(void); -// generate funciton prototypes for profile info functions +// generate function prototypes for profile info functions #define REGISTER_SMARTSTRAP_PROFILE(f) const SmartstrapProfileInfo *f(void); #include "services/normal/accessory/smartstrap_profile_registry.def" #undef REGISTER_SMARTSTRAP_PROFILE diff --git a/tests/fw/graphics/util.h b/tests/fw/graphics/util.h index 3e92183d..6eae7291 100644 --- a/tests/fw/graphics/util.h +++ b/tests/fw/graphics/util.h @@ -98,7 +98,7 @@ static char get_terminal_color(uint8_t c) { } } -// A simple functon for printing 8-bit gbitmaps to the console. +// A simple function for printing 8-bit gbitmaps to the console. // Makes it easy to quickly review failing test cases. void print_bitmap(const GBitmap *bmp) { printf("Row Size Bytes: %d\n", bmp->row_size_bytes);