1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-14 09:03:50 +01:00

treewide: Fix spelling mistakes

This commit is contained in:
MrKevinWeiss 2025-03-13 13:59:07 +01:00
parent e3e6992fde
commit f770f72202
No known key found for this signature in database
GPG Key ID: C26684F1C0767FFF
10 changed files with 12 additions and 12 deletions

View File

@ -342,7 +342,7 @@ bool gpio_read(gpio_t pin)
{
assert(pin < GPIO_PIN_NUMOF);
/* if the pin is not an input, it alsways returns 0 */
/* if the pin is not an input, it always returns 0 */
/* TODO: not really clear whether it should return the last written value
* in this case. */
int value = gpio_hal_get_level(&_gpio_hal_ctx, pin);

View File

@ -362,7 +362,7 @@ int i2c_write_bytes(i2c_t dev, uint16_t addr, const void *data, size_t len,
uint8_t flags)
{
/* The write transfer should technically only use a const uint8_t* buffer
* but we are re-using the same function to save on code here. It will not
* but we are reusing the same function to save on code here. It will not
* be written to in the I2C write case. */
#if ENABLE_DEBUG
DEBUG("[i2c] W a=%.2x len=%2u f=%.2x, data:", addr, (unsigned)len, flags);

View File

@ -305,7 +305,7 @@ typedef union {
typedef union {
struct {
uint8_t FTH:5; /**< Set the watermark level for FIFO */
uint8_t TR:1; /**< Trigging selection, FIFO event triggers INT1 or INT2 */
uint8_t TR:1; /**< Triggering selection, FIFO event triggers INT1 or INT2 */
uint8_t FM:2; /**< FIFO mode selection */
} bit; /**< Structure used for bit access */
uint8_t reg; /**< Type used for register access */

View File

@ -60,7 +60,7 @@ static int _write(const pcf857x_t *dev, pcf857x_data_t data);
#if IS_USED(MODULE_PCF857X_IRQ)
/* interrutp service routine for IRQs */
/* interrupt service routine for IRQs */
static void _irq_isr(void *arg);
/* declaration of IRQ handler function */

View File

@ -52,7 +52,7 @@ $ iotlab-experiment --jmespath="items[*].network_address | sort(@)" get --nodes
```
When flashing the devices set `IOTLAB_NODE` to one of the above values, e.g. for
the firs node: `IOTLAB_NODE=dwm1001-2.saclay.iot-lab.info`.
the first node: `IOTLAB_NODE=dwm1001-2.saclay.iot-lab.info`.
##### Free up the resources

View File

@ -40,7 +40,7 @@ extern "C" {
#endif
/**
* @brief worstcase tx holdoff delay for all TWR modes (usec)
* @brief worst case tx holdoff delay for all TWR modes (usec)
*/
#ifndef MYNEWT_VAL_RNG_TX_HOLDOFF
#define MYNEWT_VAL_RNG_TX_HOLDOFF (((uint32_t)0x0320 + 0xA0 * IS_USED(MODULE_UWB_CORE_RNG_TRX_INFO)))

View File

@ -921,7 +921,7 @@ static inline ssize_t sock_dtls_recv_buf(sock_dtls_t *sock,
}
/**
* @brief Encrypts and sends a message to a remote peer with non-continous payload
* @brief Encrypts and sends a message to a remote peer with non-continuous payload
*
* @param[in] sock DTLS sock to use
* @param[in] remote DTLS session to use. A new session will be created
@ -1055,7 +1055,7 @@ static inline ssize_t sock_dtls_send(sock_dtls_t *sock,
}
/**
* @brief Encrypts and sends a message to a remote peer with non-continous payload
* @brief Encrypts and sends a message to a remote peer with non-continuous payload
*
* @param[in] sock DTLS sock to use
* @param[in] remote DTLS session to use. A new session will be created

View File

@ -633,7 +633,7 @@ static inline ssize_t sock_udp_recv_buf(sock_udp_t *sock,
}
/**
* @brief Sends a UDP message to remote end point with non-continous payload
* @brief Sends a UDP message to remote end point with non-continuous payload
*
* @pre `((sock != NULL || remote != NULL))`
*
@ -759,7 +759,7 @@ static inline ssize_t sock_udp_send(sock_udp_t *sock,
}
/**
* @brief Sends a UDP message to remote end point with non-continous payload
* @brief Sends a UDP message to remote end point with non-continuous payload
*
* @pre `((sock != NULL || remote != NULL))`
*

View File

@ -583,7 +583,7 @@ void gnrc_sixlowpan_frag_rb_gc(void)
unsigned int i;
for (i = 0; i < CONFIG_GNRC_SIXLOWPAN_FRAG_RBUF_SIZE; i++) {
/* since pkt occupies pktbuf, aggressivly collect garbage */
/* since pkt occupies pktbuf, aggressively collect garbage */
if (!gnrc_sixlowpan_frag_rb_entry_empty(&rbuf[i]) &&
((now_usec - rbuf[i].super.arrival) >
CONFIG_GNRC_SIXLOWPAN_FRAG_RBUF_TIMEOUT_US)) {

View File

@ -113,7 +113,7 @@ If you would like to clean intermediate files for all boards go to main RIOT
directory and use this command.
@warning This command cleans all local files, for example, pkg downloads and
locally generared docs.
locally generated docs.
make distclean