Skip to content

Commit 7094e13

Browse files
revert typos in external sources
1 parent 085c045 commit 7094e13

File tree

183 files changed

+363
-362
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

183 files changed

+363
-362
lines changed

features/FEATURE_BLE/ble/BLEInstanceBase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ class BLEInstanceBase
246246

247247
private:
248248
// this class is not a value type.
249-
// prohibit copy construction and copy assignment
249+
// prohibit copy construction and copy assignement
250250
BLEInstanceBase(const BLEInstanceBase&);
251251
BLEInstanceBase &operator=(const BLEInstanceBase&);
252252
};

features/FEATURE_BLE/ble/pal/AttClient.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ struct AttClient {
7575
* The mtu choosen for the connection is the minimum of the client Rx mtu
7676
* and server Rx mtu values.
7777
*
78-
* If an error occurred then the mtu used remains the default value.
78+
* If an error occured then the mtu used remains the default value.
7979
*
8080
* @param connection The handle of the connection to send this request to.
8181
*

features/FEATURE_BLE/ble/pal/GapEvents.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ struct GapEvent {
7575
protected:
7676
GapEvent(GapEventType type) : type(type) { }
7777

78-
// Disable copy construction and copy assignment operations.
78+
// Disable copy construction and copy assignement operations.
7979
GapEvent(const GapEvent&);
8080
GapEvent& operator=(const GapEvent&);
8181
};

features/FEATURE_BLE/targets/TARGET_CORDIO/stack/cordio_stack/ws-core/sw/wsf/include/wsf_buf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ typedef struct
6363
/*! WSF buffer diagnostics - buffer allocation failure */
6464
typedef struct
6565
{
66-
uint8_t taskId; /*! Task handler ID where failure occurred */
66+
uint8_t taskId; /*! Task handler ID where failure occured */
6767
uint16_t len; /*! Length of buffer being allocated */
6868
} wsfBufDiagAllocFail_t;
6969

features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/hal_patch/sleep.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void hal_sleep(void)
5757
return;
5858
} else {
5959
// next event will wakeup the CPU
60-
// If an interrupt occurred between the test of SCB->ICSR and this
60+
// If an interrupt occured between the test of SCB->ICSR and this
6161
// instruction, WFE will just not put the CPU to sleep
6262
__WFE();
6363
}

features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sdk/source/ble/peer_manager/id_manager.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ bool is_duplicate_bonding_data(pm_peer_data_bonding_t const * p_bonding_data1,
359359

360360
/**@brief Event handler for events from the peer_database module.
361361
*
362-
* @param[in] p_event The event that has happened with peer id and flags.
362+
* @param[in] p_event The event that has happend with peer id and flags.
363363
*/
364364
static void pdb_evt_handler(pdb_evt_t const * p_event)
365365
{

features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sdk/source/libraries/bootloader_dfu/dfu_types.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,10 +152,10 @@ typedef enum
152152
typedef struct
153153
{
154154
dfu_update_status_code_t status_code; /**< Device Firmware Update status. */
155-
uint16_t app_crc; /**< CRC of the received application. */
156-
uint32_t sd_size; /**< Size of the received SoftDevice. */
157-
uint32_t bl_size; /**< Size of the received BootLoader. */
158-
uint32_t app_size; /**< Size of the received Application. */
155+
uint16_t app_crc; /**< CRC of the recieved application. */
156+
uint32_t sd_size; /**< Size of the recieved SoftDevice. */
157+
uint32_t bl_size; /**< Size of the recieved BootLoader. */
158+
uint32_t app_size; /**< Size of the recieved Application. */
159159
uint32_t sd_image_start; /**< Location in flash where the received SoftDevice image is stored. */
160160
} dfu_update_status_t;
161161

features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sdk/source/softdevice/s130/headers/ble_gap.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ typedef struct
721721
/**@brief GAP event structure. */
722722
typedef struct
723723
{
724-
uint16_t conn_handle; /**< Connection Handle on which event occurred. */
724+
uint16_t conn_handle; /**< Connection Handle on which event occured. */
725725
union /**< union alternative identified by evt_id in enclosing struct. */
726726
{
727727
ble_gap_evt_connected_t connected; /**< Connected Event Parameters. */
@@ -1153,7 +1153,7 @@ SVCALL(SD_BLE_GAP_DEVICE_NAME_GET, uint32_t, sd_ble_gap_device_name_get(uint8_t
11531153
* @retval ::NRF_ERROR_INVALID_STATE Invalid state to perform operation.
11541154
* @retval ::NRF_ERROR_BUSY The stack is busy, process pending events and retry.
11551155
* @retval ::BLE_ERROR_INVALID_CONN_HANDLE Invalid connection handle supplied.
1156-
* @retval ::NRF_ERROR_TIMEOUT A SMP timout has occurred, and further SMP operations on this link is prohibited.
1156+
* @retval ::NRF_ERROR_TIMEOUT A SMP timout has occured, and further SMP operations on this link is prohibited.
11571157
*/
11581158
SVCALL(SD_BLE_GAP_AUTHENTICATE, uint32_t, sd_ble_gap_authenticate(uint16_t conn_handle, ble_gap_sec_params_t const *p_sec_params));
11591159

features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sdk/source/softdevice/s130/headers/ble_gattc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ typedef struct
239239
/**@brief GATTC event structure. */
240240
typedef struct
241241
{
242-
uint16_t conn_handle; /**< Connection Handle on which event occurred. */
242+
uint16_t conn_handle; /**< Connection Handle on which event occured. */
243243
uint16_t gatt_status; /**< GATT status code for the operation, see @ref BLE_GATT_STATUS_CODES. */
244244
uint16_t error_handle; /**< In case of error: The handle causing the error. In all other cases @ref BLE_GATT_HANDLE_INVALID. */
245245
union

features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sdk/source/softdevice/s130/headers/ble_l2cap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ typedef struct
107107
/**@brief L2CAP event callback event structure. */
108108
typedef struct
109109
{
110-
uint16_t conn_handle; /**< Connection Handle on which event occurred. */
110+
uint16_t conn_handle; /**< Connection Handle on which event occured. */
111111
union
112112
{
113113
ble_l2cap_evt_rx_t rx; /**< RX Event parameters. */

0 commit comments

Comments
 (0)