diff --git a/src/fw/applib/bluetooth/ble_ibeacon.h b/src/fw/applib/bluetooth/ble_ibeacon.h index 17800ed9..5f527191 100644 --- a/src/fw/applib/bluetooth/ble_ibeacon.h +++ b/src/fw/applib/bluetooth/ble_ibeacon.h @@ -90,7 +90,7 @@ void ble_ibeacon_destroy(BLEiBeacon *ibeacon); //! @param rssi The RSSI of the advertisement //! @param[out] ibeacon_out Will contain the parsed iBeacon data if the call //! returns true. -//! @return true if the data element was succesfully parsed as iBeacon, +//! @return true if the data element was successfully parsed as iBeacon, //! false if the data element could not be parsed as iBeacon. bool ble_ibeacon_parse(const BLEAdData *ad, int8_t rssi, BLEiBeacon *ibeacon_out); diff --git a/src/fw/comm/ble/gap_le_scan.h b/src/fw/comm/ble/gap_le_scan.h index 9f8bd9f0..8d148393 100644 --- a/src/fw/comm/ble/gap_le_scan.h +++ b/src/fw/comm/ble/gap_le_scan.h @@ -52,12 +52,12 @@ typedef struct { //! reports and scan responses will be buffered. A PEBBLE_BLE_SCAN_EVENT will //! be generated when there is data to be collected. //! @see gap_le_consume_scan_results -//! @return 0 if scanning started succesfully or an error code otherwise. +//! @return 0 if scanning started successfully or an error code otherwise. bool gap_le_start_scan(void); //! @internal //! Stops scanning. -//! @return 0 if scanning stopped succesfully or an error code otherwise. +//! @return 0 if scanning stopped successfully or an error code otherwise. bool gap_le_stop_scan(void); //! @internal diff --git a/src/fw/comm/ble/kernel_le_client/ams/ams_util.h b/src/fw/comm/ble/kernel_le_client/ams/ams_util.h index 5eb7a741..7541be64 100644 --- a/src/fw/comm/ble/kernel_le_client/ams/ams_util.h +++ b/src/fw/comm/ble/kernel_le_client/ams/ams_util.h @@ -26,7 +26,7 @@ //! @param number_str_length The length of the number_str buffer. //! @param multiplier The factor by which to multiply the parsed number. //! @param[out] number_out If the parsing was successful, the result will be stored here. -//! @return True if the string was parsed succesfully. +//! @return True if the string was parsed successfully. //! @note The first comma or period found is treated as decimal separator. Any subsequent comma or //! period that is found will cause parsing to be aborted and return false. //! @note An empty / zero-length string still will fail to parse and return false. diff --git a/src/fw/drivers/rng.h b/src/fw/drivers/rng.h index 81529e24..163eea1f 100644 --- a/src/fw/drivers/rng.h +++ b/src/fw/drivers/rng.h @@ -20,5 +20,5 @@ #include //! @param rand_out Storage for the 32-bit random number generated by the STM32 -//! @return True if a random number was succesfully generated +//! @return True if a random number was successfully generated bool rng_rand(uint32_t *rand_out); diff --git a/src/fw/services/normal/app_message/app_message_receiver.c b/src/fw/services/normal/app_message/app_message_receiver.c index 8736ffbc..26cde27f 100644 --- a/src/fw/services/normal/app_message/app_message_receiver.c +++ b/src/fw/services/normal/app_message/app_message_receiver.c @@ -103,7 +103,7 @@ static Receiver *prv_app_message_receiver_prepare(CommSession *session, rcv->header_bytes_remaining = header_bytes_remaining; // Always forward the header to default system receiver as well, we'll cancel it later on if the - // message was written succesfully to the app inbox. + // message was written successfully to the app inbox. if (!prv_fwd_prepare(rcv, session, header_bytes_remaining)) { kernel_free(rcv); return NULL; diff --git a/src/fw/services/normal/blob_db/api.h b/src/fw/services/normal/blob_db/api.h index 76cc992e..6907e246 100644 --- a/src/fw/services/normal/blob_db/api.h +++ b/src/fw/services/normal/blob_db/api.h @@ -69,7 +69,7 @@ typedef void (*BlobDBInitImpl)(void); //! \param key_len the length of the key, in bytes //! \param val a pointer to the value data //! \param val_len the length of the value, in bytes -//! \returns S_SUCCESS if the key/val pair was succesfully inserted +//! \returns S_SUCCESS if the key/val pair was successfully inserted //! and an error code otherwise (See \ref StatusCode) typedef status_t (*BlobDBInsertImpl) (const uint8_t *key, int key_len, const uint8_t *val, int val_len); @@ -87,7 +87,7 @@ typedef int (*BlobDBGetLenImpl) //! \param key_len the length of the key, in bytes //! \param[out] val_out a pointer to a buffer of size val_len //! \param val_len the length of the value to be copied, in bytes -//! \returns S_SUCCESS if the value for key was succesfully read, +//! \returns S_SUCCESS if the value for key was successfully read, //! and an error code otherwise (See \ref StatusCode) typedef status_t (*BlobDBReadImpl) (const uint8_t *key, int key_len, uint8_t *val_out, int val_len); @@ -95,13 +95,13 @@ typedef status_t (*BlobDBReadImpl) //! Implements the delete API. Note that this function should be blocking. //! \param key a pointer to the key data //! \param key_len the length of the key, in bytes -//! \returns S_SUCCESS if the key/val pair was succesfully deleted +//! \returns S_SUCCESS if the key/val pair was successfully deleted //! and an error code otherwise (See \ref StatusCode) typedef status_t (*BlobDBDeleteImpl) (const uint8_t *key, int key_len); //! Implements the flush API. Note that this function should be blocking. -//! \returns S_SUCCESS if all key/val pairs were succesfully deleted +//! \returns S_SUCCESS if all key/val pairs were successfully deleted //! and an error code otherwise (See \ref StatusCode) typedef status_t (*BlobDBFlushImpl)(void); diff --git a/src/fw/services/normal/filesystem/pfs.c b/src/fw/services/normal/filesystem/pfs.c index 8623f963..e29f813d 100644 --- a/src/fw/services/normal/filesystem/pfs.c +++ b/src/fw/services/normal/filesystem/pfs.c @@ -899,7 +899,7 @@ static status_t create_flash_file(File *f) { } } - // we have succesfully allocated space for the file, so add file specific info + // we have successfully allocated space for the file, so add file specific info f->start_page = f->curr_page = start_page; FileHeader file_hdr; diff --git a/src/fw/syscall/syscall.h b/src/fw/syscall/syscall.h index f261eefa..f57d3c20 100644 --- a/src/fw/syscall/syscall.h +++ b/src/fw/syscall/syscall.h @@ -269,7 +269,7 @@ void sys_process_get_wakeup_info(WakeupInfo *info); const PebbleProcessMd* sys_process_manager_get_current_process_md(void); //! Copy UUID for the current process. -//! @return True if the UUID was succesfully copied. +//! @return True if the UUID was successfully copied. bool sys_process_manager_get_current_process_uuid(Uuid *uuid_out); //! Get the AppInstallId for the current process diff --git a/src/include/bluetooth/bluetooth_types.h b/src/include/bluetooth/bluetooth_types.h index 00fdb003..8a91a6fe 100644 --- a/src/include/bluetooth/bluetooth_types.h +++ b/src/include/bluetooth/bluetooth_types.h @@ -27,7 +27,7 @@ typedef enum { //! The operation was successful. BTErrnoOK = 0, - //! Connection established succesfully. + //! Connection established successfully. BTErrnoConnected = BTErrnoOK, //! One or more parameters were invalid. diff --git a/src/include/bluetooth/bonding_sync.h b/src/include/bluetooth/bonding_sync.h index d906642f..9ee55ebe 100644 --- a/src/include/bluetooth/bonding_sync.h +++ b/src/include/bluetooth/bonding_sync.h @@ -47,7 +47,7 @@ void bt_driver_handle_host_added_bonding(const BleBonding *bonding); //! Called by the FW when a bonding is removed (i.e. user "Forgot" a bonding from Settings). void bt_driver_handle_host_removed_bonding(const BleBonding *bonding); -//! Called by the BT driver after succesfully pairing a new device. +//! Called by the BT driver after successfully pairing a new device. //! @param addr The address that is used to refer to the connection. This is used to associate //! the bonding with the GAPLEConnection. extern void bt_driver_cb_handle_create_bonding(const BleBonding *bonding, diff --git a/wscript b/wscript index 6cb03b0f..2d71b324 100644 --- a/wscript +++ b/wscript @@ -1429,7 +1429,7 @@ class gdb_prf(BuildContext): def openocd(ctx): """ Starts openocd and leaves it running. It will reset the board to - increase the chances of attaching succesfully. """ + increase the chances of attaching successfully. """ waftools.openocd.run_command(ctx, 'init; reset', shutdown=False)