spelling: function

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2025-01-28 14:44:10 -05:00
parent 3c336ea7f5
commit 11d05ba281
5 changed files with 11 additions and 11 deletions

View file

@ -68,7 +68,7 @@
//! __type__ value);` //! __type__ value);`
//! See \ref Int16Getter, \ref Int16Setter, \ref GPointGetter, \ref GPointSetter, \ref GRectGetter, //! See \ref Int16Getter, \ref Int16Setter, \ref GPointGetter, \ref GPointSetter, \ref GRectGetter,
//! \ref GRectSetter //! \ref GRectSetter
//! for the typedefs that accompany the update fuctions. //! for the typedefs that accompany the update functions.
//! //!
//! \code{.c} //! \code{.c}
//! static const PropertyAnimationLegacy2Implementation my_implementation = { //! static const PropertyAnimationLegacy2Implementation my_implementation = {

View file

@ -57,7 +57,7 @@
//! Any setter needs to have to following function signature: `void setter(void *subject, //! Any setter needs to have to following function signature: `void setter(void *subject,
//! __type__ value);` //! __type__ value);`
//! See \ref Int16Getter, \ref Int16Setter, \ref GPointGetter, \ref GPointSetter, //! 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} //! \code{.c}
//! static const PropertyAnimationImplementation my_implementation = { //! static const PropertyAnimationImplementation my_implementation = {

View file

@ -156,7 +156,7 @@ static const GAPLERole s_current_role = GAPLERoleSlave;
// Function prototypes // Function prototypes
typedef void (*IntentApply)(GAPLEConnectionIntent *intent, void *data); typedef void (*IntentApply)(GAPLEConnectionIntent *intent, void *data);
static void prv_apply_fuction_to_intents_matching_connection(const GAPLEConnection *connection, static void prv_apply_function_to_intents_matching_connection(const GAPLEConnection *connection,
IntentApply fp, void *data); IntentApply fp, void *data);
static bool prv_intent_matches_connection(const GAPLEConnectionIntent *intent, static bool prv_intent_matches_connection(const GAPLEConnectionIntent *intent,
@ -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) { PebbleTaskBitset gap_le_connect_task_mask_for_connection(const GAPLEConnection *connection) {
const PebbleTaskBitset task_mask_none = ~0; const PebbleTaskBitset task_mask_none = ~0;
PebbleTaskBitset task_mask = task_mask_none; 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; return task_mask;
} }
@ -542,7 +542,7 @@ 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 //! 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. //! bt_lock is assumed to be taken before calling this function.
static void prv_apply_fuction_to_intents_matching_connection(const GAPLEConnection *connection, static void prv_apply_function_to_intents_matching_connection(const GAPLEConnection *connection,
IntentApply fp, void *data) { IntentApply fp, void *data) {
GAPLEConnectionIntent *intent = s_intents; GAPLEConnectionIntent *intent = s_intents;
while (intent) { while (intent) {
@ -590,7 +590,7 @@ void bt_driver_handle_le_encryption_change_event(const BleEncryptionChange *even
bt_driver_pebble_pairing_service_handle_status_change(connection); bt_driver_pebble_pairing_service_handle_status_change(connection);
} }
prv_apply_fuction_to_intents_matching_connection(connection, prv_apply_function_to_intents_matching_connection(connection,
prv_send_clients_encrypted_event, NULL); prv_send_clients_encrypted_event, NULL);
unlock: unlock:
bt_unlock(); bt_unlock();

View file

@ -71,7 +71,7 @@ typedef struct {
typedef const SmartstrapProfileInfo *(*SmartstrapProfileGetInfoFunc)(void); 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); #define REGISTER_SMARTSTRAP_PROFILE(f) const SmartstrapProfileInfo *f(void);
#include "services/normal/accessory/smartstrap_profile_registry.def" #include "services/normal/accessory/smartstrap_profile_registry.def"
#undef REGISTER_SMARTSTRAP_PROFILE #undef REGISTER_SMARTSTRAP_PROFILE

View file

@ -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. // Makes it easy to quickly review failing test cases.
void print_bitmap(const GBitmap *bmp) { void print_bitmap(const GBitmap *bmp) {
printf("Row Size Bytes: %d\n", bmp->row_size_bytes); printf("Row Size Bytes: %d\n", bmp->row_size_bytes);