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. */

features/FEATURE_LWIP/lwip-interface/EthernetInterface.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,21 +82,21 @@ class EthernetInterface : public EthInterface
8282
/** Get the local IP address
8383
*
8484
* @return Null-terminated representation of the local IP address
85-
* or null if no IP address has been received
85+
* or null if no IP address has been recieved
8686
*/
8787
virtual const char *get_ip_address();
8888

8989
/** Get the local network mask
9090
*
9191
* @return Null-terminated representation of the local network mask
92-
* or null if no network mask has been received
92+
* or null if no network mask has been recieved
9393
*/
9494
virtual const char *get_netmask();
9595

9696
/** Get the local gateways
9797
*
9898
* @return Null-terminated representation of the local gateway
99-
* or null if no network mask has been received
99+
* or null if no network mask has been recieved
100100
*/
101101
virtual const char *get_gateway();
102102

features/FEATURE_LWIP/lwip-interface/lwip-eth/arch/TARGET_NXP/TARGET_LPCTarget/lpc17xx_emac.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ extern "C"
249249
#define EMAC_TSV0_PKT_DEFER 0x00000040 /**< Packet Deferred */
250250
#define EMAC_TSV0_EXC_DEFER 0x00000080 /**< Excessive Packet Deferral */
251251
#define EMAC_TSV0_EXC_COLL 0x00000100 /**< Excessive Collision */
252-
#define EMAC_TSV0_LATE_COLL 0x00000200 /**< Late Collision Occurred */
252+
#define EMAC_TSV0_LATE_COLL 0x00000200 /**< Late Collision Occured */
253253
#define EMAC_TSV0_GIANT 0x00000400 /**< Giant Frame */
254254
#define EMAC_TSV0_UNDERRUN 0x00000800 /**< Buffer Underrun */
255255
#define EMAC_TSV0_BYTES 0x0FFFF000 /**< Total Bytes Transferred */
@@ -373,7 +373,7 @@ extern "C"
373373
#define EMAC_RINFO_OVERRUN 0x10000000 /**< Receive overrun */
374374
#define EMAC_RINFO_NO_DESCR 0x20000000 /**< No new Descriptor available */
375375
#define EMAC_RINFO_LAST_FLAG 0x40000000 /**< Last Fragment in Frame */
376-
#define EMAC_RINFO_ERR 0x80000000 /**< Error Occurred (OR of all errors) */
376+
#define EMAC_RINFO_ERR 0x80000000 /**< Error Occured (OR of all errors) */
377377
#define EMAC_RINFO_ERR_MASK (EMAC_RINFO_FAIL_FILT | EMAC_RINFO_CRC_ERR | EMAC_RINFO_SYM_ERR | \
378378
EMAC_RINFO_LEN_ERR | EMAC_RINFO_ALIGN_ERR | EMAC_RINFO_OVERRUN)
379379

@@ -395,10 +395,10 @@ EMAC_RINFO_LEN_ERR | EMAC_RINFO_ALIGN_ERR | EMAC_RINFO_OVERRUN)
395395
#define EMAC_TINFO_DEFER 0x02000000 /**< Packet Deferred (not an error) */
396396
#define EMAC_TINFO_EXCESS_DEF 0x04000000 /**< Excessive Deferral */
397397
#define EMAC_TINFO_EXCESS_COL 0x08000000 /**< Excessive Collision */
398-
#define EMAC_TINFO_LATE_COL 0x10000000 /**< Late Collision Occurred */
398+
#define EMAC_TINFO_LATE_COL 0x10000000 /**< Late Collision Occured */
399399
#define EMAC_TINFO_UNDERRUN 0x20000000 /**< Transmit Underrun */
400400
#define EMAC_TINFO_NO_DESCR 0x40000000 /**< No new Descriptor available */
401-
#define EMAC_TINFO_ERR 0x80000000 /**< Error Occurred (OR of all errors) */
401+
#define EMAC_TINFO_ERR 0x80000000 /**< Error Occured (OR of all errors) */
402402

403403
#ifdef MCB_LPC_1768
404404
/* DP83848C PHY definition ------------------------------------------------------------ */
@@ -417,7 +417,7 @@ EMAC_RINFO_LEN_ERR | EMAC_RINFO_ALIGN_ERR | EMAC_RINFO_OVERRUN)
417417
#define EMAC_PHY_REG_IDR1 0x02 /**< PHY Identifier 1 */
418418
#define EMAC_PHY_REG_IDR2 0x03 /**< PHY Identifier 2 */
419419
#define EMAC_PHY_REG_ANAR 0x04 /**< Auto-Negotiation Advertisement */
420-
#define EMAC_PHY_REG_ANLPAR 0x05 /**< Auto-Neg. Link Partner Ability */
420+
#define EMAC_PHY_REG_ANLPAR 0x05 /**< Auto-Neg. Link Partner Abitily */
421421
#define EMAC_PHY_REG_ANER 0x06 /**< Auto-Neg. Expansion Register */
422422
#define EMAC_PHY_REG_ANNPTR 0x07 /**< Auto-Neg. Next Page TX */
423423
#define EMAC_PHY_REG_LPNPA 0x08
@@ -504,7 +504,7 @@ EMAC_RINFO_LEN_ERR | EMAC_RINFO_ALIGN_ERR | EMAC_RINFO_OVERRUN)
504504
#define EMAC_PHY_REG_IDR1 0x02 /**< PHY Identifier 1 */
505505
#define EMAC_PHY_REG_IDR2 0x03 /**< PHY Identifier 2 */
506506
#define EMAC_PHY_REG_ANAR 0x04 /**< Auto-Negotiation Advertisement */
507-
#define EMAC_PHY_REG_ANLPAR 0x05 /**< Auto-Neg. Link Partner Ability */
507+
#define EMAC_PHY_REG_ANLPAR 0x05 /**< Auto-Neg. Link Partner Abitily */
508508
#define EMAC_PHY_REG_ANER 0x06 /**< Auto-Neg. Expansion Register */
509509
#define EMAC_PHY_REG_ANNPTR 0x07 /**< Auto-Neg. Next Page TX */
510510
#define EMAC_PHY_REG_LPNPA 0x08 /**< Link Partner Next Page Ability */

features/FEATURE_LWIP/lwip-interface/lwip/CHANGELOG

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3918,7 +3918,7 @@ HISTORY
39183918
++ Bug fixes:
39193919

39203920
* Fixed pool pbuf memory leak in pbuf_alloc().
3921-
Occurred if not enough PBUF_POOL pbufs for a packet pbuf chain.
3921+
Occured if not enough PBUF_POOL pbufs for a packet pbuf chain.
39223922
Reported by Savin Zlobec.
39233923

39243924
* PBUF_POOL chains had their tot_len field not set for non-first

features/FEATURE_LWIP/lwip-interface/lwip/src/apps/snmp/lwip_snmp_msg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1469,7 +1469,7 @@ snmp_complete_outbound_frame(struct snmp_request *request)
14691469
if (request->error_status == SNMP_ERR_TOOBIG) {
14701470
request->error_index = 0; /* defined by RFC 1157 */
14711471
} else if (request->error_index == 0) {
1472-
/* set index to varbind where error occurred (if not already set before, e.g. during GetBulk processing) */
1472+
/* set index to varbind where error occured (if not already set before, e.g. during GetBulk processing) */
14731473
request->error_index = request->inbound_varbind_enumerator.varbind_count;
14741474
}
14751475
} else {

features/FEATURE_LWIP/lwip-interface/lwip/src/apps/tftp/lwip_tftp_server.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ send_data(void)
191191

192192
ret = tftp_state.ctx->read(tftp_state.handle, &payload[2], TFTP_MAX_PAYLOAD_SIZE);
193193
if (ret < 0) {
194-
send_error(&tftp_state.addr, tftp_state.port, TFTP_ERROR_ACCESS_VIOLATION, "Error occurred while reading the file.");
194+
send_error(&tftp_state.addr, tftp_state.port, TFTP_ERROR_ACCESS_VIOLATION, "Error occured while reading the file.");
195195
close_handle();
196196
return;
197197
}

features/FEATURE_LWIP/lwip-interface/lwip/src/netif/ppp/lwip_ipcp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1744,7 +1744,7 @@ static int ipcp_reqci(fsm *f, u_char *inp, int *len, int reject_if_disagree) {
17441744
}
17451745
endswitch:
17461746
if (orc == CONFACK && /* Good CI */
1747-
rc != CONFACK) /* but prior CI wasn't? */
1747+
rc != CONFACK) /* but prior CI wasnt? */
17481748
continue; /* Don't send this one */
17491749

17501750
if (orc == CONFNAK) { /* Nak this CI? */

features/FEATURE_LWIP/lwip-interface/lwip/src/netif/ppp/lwip_ipv6cp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,7 @@ static int ipv6cp_reqci(fsm *f, u_char *inp, int *len, int reject_if_disagree) {
10111011
IPV6CPDEBUG((" (%s)\n", CODENAME(orc)));
10121012

10131013
if (orc == CONFACK && /* Good CI */
1014-
rc != CONFACK) /* but prior CI wasn't? */
1014+
rc != CONFACK) /* but prior CI wasnt? */
10151015
continue; /* Don't send this one */
10161016

10171017
if (orc == CONFNAK) { /* Nak this CI? */

features/FEATURE_LWIP/lwip-interface/lwip/src/netif/ppp/lwip_lcp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2232,7 +2232,7 @@ static int lcp_reqci(fsm *f, u_char *inp, int *lenp, int reject_if_disagree) {
22322232

22332233
endswitch:
22342234
if (orc == CONFACK && /* Good CI */
2235-
rc != CONFACK) /* but prior CI wasn't? */
2235+
rc != CONFACK) /* but prior CI wasnt? */
22362236
continue; /* Don't send this one */
22372237

22382238
if (orc == CONFNAK) { /* Nak this CI? */

features/filesystem/fat/ChaN/ff.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3299,7 +3299,7 @@ FRESULT find_volume ( /* FR_OK(0): successful, !=0: any error occurred */
32993299
fmt = bsect ? check_fs(fs, bsect) : 3; /* Check the partition */
33003300
} while (LD2PT(vol) == 0 && fmt >= 2 && ++i < 4);
33013301
}
3302-
if (fmt == 4) return FR_DISK_ERR; /* An error occurred in the disk I/O layer */
3302+
if (fmt == 4) return FR_DISK_ERR; /* An error occured in the disk I/O layer */
33033303
if (fmt >= 2) return FR_NO_FILESYSTEM; /* No FAT volume is found */
33043304

33053305
/* An FAT volume is found (bsect). Following code initializes the filesystem object */

features/lorawan/LoRaWANStack.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ void LoRaWANStack::mcps_confirm_handler(loramac_mcps_confirm_t *mcps_confirm)
860860
}
861861

862862
if (mcps_confirm->status != LORAMAC_EVENT_INFO_STATUS_OK) {
863-
// Couldn't schedule packet, ack not received in CONFIRMED case
863+
// Couldn't schedule packet, ack not recieved in CONFIRMED case
864864
// or some other error happened. Discard buffer, unset the tx-ongoing
865865
// flag and let the application know
866866
_tx_msg.tx_ongoing = false;

features/mbedtls/inc/mbedtls/bignum.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ int mbedtls_mpi_copy( mbedtls_mpi *X, const mbedtls_mpi *Y );
242242
void mbedtls_mpi_swap( mbedtls_mpi *X, mbedtls_mpi *Y );
243243

244244
/**
245-
* \brief Safe conditional assignment X = Y if assign is 1
245+
* \brief Safe conditional assignement X = Y if assign is 1
246246
*
247247
* \param X MPI to conditionally assign to
248248
* \param Y Value to be assigned

features/mbedtls/inc/mbedtls/x509.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
#define MBEDTLS_ERR_X509_ALLOC_FAILED -0x2880 /**< Allocation of memory failed. */
7777
#define MBEDTLS_ERR_X509_FILE_IO_ERROR -0x2900 /**< Read/write of file failed. */
7878
#define MBEDTLS_ERR_X509_BUFFER_TOO_SMALL -0x2980 /**< Destination buffer is too small. */
79-
#define MBEDTLS_ERR_X509_FATAL_ERROR -0x3000 /**< A fatal error occurred, eg the chain is too long or the vrfy callback failed. */
79+
#define MBEDTLS_ERR_X509_FATAL_ERROR -0x3000 /**< A fatal error occured, eg the chain is too long or the vrfy callback failed. */
8080
/* \} name */
8181

8282
/**
@@ -249,7 +249,7 @@ int mbedtls_x509_serial_gets( char *buf, size_t size, const mbedtls_x509_buf *se
249249
*
250250
* \param to mbedtls_x509_time to check
251251
*
252-
* \return 1 if the given time is in the past or an error occurred,
252+
* \return 1 if the given time is in the past or an error occured,
253253
* 0 otherwise.
254254
*/
255255
int mbedtls_x509_time_is_past( const mbedtls_x509_time *to );
@@ -263,7 +263,7 @@ int mbedtls_x509_time_is_past( const mbedtls_x509_time *to );
263263
*
264264
* \param from mbedtls_x509_time to check
265265
*
266-
* \return 1 if the given time is in the future or an error occurred,
266+
* \return 1 if the given time is in the future or an error occured,
267267
* 0 otherwise.
268268
*/
269269
int mbedtls_x509_time_is_future( const mbedtls_x509_time *from );

features/mbedtls/src/ecp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1470,7 +1470,7 @@ static int ecp_mul_comb( mbedtls_ecp_group *grp, mbedtls_ecp_point *R,
14701470
/*
14711471
* For Montgomery curves, we do all the internal arithmetic in projective
14721472
* coordinates. Import/export of points uses only the x coordinates, which is
1473-
* internally represented as X / Z.
1473+
* internaly represented as X / Z.
14741474
*
14751475
* For scalar multiplication, we'll use a Montgomery ladder.
14761476
*/

features/mbedtls/src/error.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ void mbedtls_strerror( int ret, char *buf, size_t buflen )
481481
if( use_ret == -(MBEDTLS_ERR_X509_BUFFER_TOO_SMALL) )
482482
mbedtls_snprintf( buf, buflen, "X509 - Destination buffer is too small" );
483483
if( use_ret == -(MBEDTLS_ERR_X509_FATAL_ERROR) )
484-
mbedtls_snprintf( buf, buflen, "X509 - A fatal error occurred, eg the chain is too long or the vrfy callback failed" );
484+
mbedtls_snprintf( buf, buflen, "X509 - A fatal error occured, eg the chain is too long or the vrfy callback failed" );
485485
#endif /* MBEDTLS_X509_USE_C || MBEDTLS_X509_CREATE_C */
486486
// END generated code
487487

features/mbedtls/targets/TARGET_STM/aes_alt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ extern "C" {
3232
#endif
3333

3434
#define ST_AES_TIMEOUT ((uint32_t) 0xFF) /* 255 ms timeout for the crypto processor */
35-
#define ST_ERR_AES_BUSY (-0x0023) /* Crypto processor is busy, timeout occurred */
35+
#define ST_ERR_AES_BUSY (-0x0023) /* Crypto processor is busy, timeout occured */
3636
/**
3737
* \brief AES context structure
3838
*

features/nanostack/FEATURE_NANOSTACK/nanostack-interface/NanostackInterface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class NanostackInterface : public NetworkStack {
6868

6969
/** Bind a specific address to a socket
7070
*
71-
* Binding a socket specifies the address and port on which to receive
71+
* Binding a socket specifies the address and port on which to recieve
7272
* data. If the IP address is zeroed, only the port is bound.
7373
*
7474
* @param handle Socket handle

features/nanostack/FEATURE_NANOSTACK/sal-stack-nanostack/source/6LoWPAN/Thread/thread_dhcpv6_client.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ void thread_dhcpv6_client_set_address(int8_t interface_id, dhcpv6_client_server_
6060

6161
void thread_dhcp_client_init(int8_t interface)
6262
{
63-
// No support for multiple thread instances yet.
63+
// No support for multible thread instances yet.
6464
dhcp_client.service_instance = dhcp_service_init(interface, DHCP_INSTANCE_CLIENT, NULL);
6565
dhcp_client.interface = interface;
6666
dhcp_client.libDhcp_instance = libdhcpv6_nonTemporal_entry_get_unique_instance_id();

features/nanostack/FEATURE_NANOSTACK/sal-stack-nanostack/source/6LoWPAN/Thread/thread_management_server.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ static uint32_t reverse_bits(uint32_t num)
552552
}
553553
static void thread_panid_scan_response(int8_t if_id, const mlme_scan_conf_t* conf)
554554
{
555-
bool conflict_occurred = false;
555+
bool conflict_occured = false;
556556
nwk_scan_params_t *scan_parameters_ptr;
557557
nwk_pan_descriptor_t *result;
558558
protocol_interface_info_entry_t *interface;
@@ -599,12 +599,12 @@ static void thread_panid_scan_response(int8_t if_id, const mlme_scan_conf_t* con
599599
if(result->pan_descriptor->CoordPANId == this->scan_ptr->panid) { //if pan id matches then send a conflict message
600600
tr_debug("Same pan id was found on channel %d", result->pan_descriptor->LogicalChannel);
601601
set_channel_mask(this->scan_ptr->channel_mask,result->pan_descriptor->LogicalChannel,0);
602-
conflict_occurred = true;
602+
conflict_occured = true;
603603
}
604604
result = result->next;
605605
} while (result);
606-
if (conflict_occurred){
607-
tr_debug("conflict occurred");
606+
if (conflict_occured){
607+
tr_debug("conflict occured");
608608
this->scan_ptr->timer = eventOS_timeout_ms(thread_panid_conflict_timeout_cb, 2000, this);
609609
}
610610
thread_start_mac_with_link_configuration(interface,linkConfiguration);

0 commit comments

Comments
 (0)