Skip to content

Commit de63e10

Browse files
committed
Merge branch 'fix/spelling' into fix/whitespace_format
2 parents 1e69075 + e13f09b commit de63e10

File tree

171 files changed

+293
-293
lines changed

Some content is hidden

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

171 files changed

+293
-293
lines changed

.github/ISSUE_TEMPLATE/Issue-report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ body:
106106
id: Description
107107
attributes:
108108
label: Description
109-
description: Please describe your problem here and expected behaviour
110-
placeholder: ex. Can't connect/weird behaviour/wrong function/missing parameter..
109+
description: Please describe your problem here and expected behavior
110+
placeholder: ex. Can't connect/weird behavior/wrong function/missing parameter..
111111
validations:
112112
required: true
113113
- type: textarea

.github/scripts/on-release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,10 +334,10 @@ jq_arg=".packages[0].platforms[0].version = \"$RELEASE_TAG\" | \
334334
.packages[0].platforms[0].checksum = \"SHA-256:$PACKAGE_SHA\""
335335

336336
# Generate package JSONs
337-
echo "Genarating $PACKAGE_JSON_DEV ..."
337+
echo "Generating $PACKAGE_JSON_DEV ..."
338338
cat "$PACKAGE_JSON_TEMPLATE" | jq "$jq_arg" > "$OUTPUT_DIR/$PACKAGE_JSON_DEV"
339339
if [ "$RELEASE_PRE" == "false" ]; then
340-
echo "Genarating $PACKAGE_JSON_REL ..."
340+
echo "Generating $PACKAGE_JSON_REL ..."
341341
cat "$PACKAGE_JSON_TEMPLATE" | jq "$jq_arg" > "$OUTPUT_DIR/$PACKAGE_JSON_REL"
342342
fi
343343

.github/scripts/sketch_utils.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,11 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
113113
fi
114114

115115
if [ -z "$fqbn" ]; then
116-
echo "No FQBN passed or unvalid chip: $target"
116+
echo "No FQBN passed or invalid chip: $target"
117117
exit 1
118118
fi
119119

120-
# The directory that will hold all the artifcats (the build directory) is
120+
# The directory that will hold all the artifacts (the build directory) is
121121
# provided through:
122122
# 1. An env variable called ARDUINO_BUILD_DIR.
123123
# 2. Created at the sketch level as "build" in the case of a single
@@ -286,7 +286,7 @@ function build_sketches(){ # build_sketches <ide_path> <user_path> <target> <pat
286286
local xtra_opts=$*
287287

288288
if [ -z $chunk_index ] || [ -z $chunk_max ]; then
289-
echo "ERROR: Invalid chunk paramters"
289+
echo "ERROR: Invalid chunk parameters"
290290
echo "$USAGE"
291291
exit 1
292292
fi

.github/workflows/allboards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Boards Test - Remote trigger
22

3-
# The workflow will run on remote dispath with event-type set to "test-boards"
3+
# The workflow will run on remote dispatch with event-type set to "test-boards"
44
on:
55
repository_dispatch:
66
types: [test-boards]

Kconfig.projbuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ config ARDUHAL_ESP_LOG
209209
default "n"
210210
help
211211
This option will redefine the ESP_LOGx macros to Arduino's log_x macros.
212-
To enable for your application, add the follwing after your includes:
212+
To enable for your application, add the following after your includes:
213213
#ifdef ARDUINO_ARCH_ESP32
214214
#include "esp32-hal-log.h"
215215
#endif

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ You can use [EspExceptionDecoder](https://github.com/me-no-dev/EspExceptionDecod
6868

6969
### Issue/Bug report template
7070

71-
Before reporting an issue, make sure you've searched for similar one that was already created. Also make sure to go through all the issues labelled as [Type: For reference](https://github.com/espressif/arduino-esp32/issues?q=is%3Aissue+label%3A%22Type%3A+For+reference%22+).
71+
Before reporting an issue, make sure you've searched for similar one that was already created. Also make sure to go through all the issues labeled as [Type: For reference](https://github.com/espressif/arduino-esp32/issues?q=is%3Aissue+label%3A%22Type%3A+For+reference%22+).
7272

7373
Finally, if you are sure no one else had the issue, follow the **Issue template** or **Feature request template** while reporting any [new Issue](https://github.com/espressif/arduino-esp32/issues/new/choose).
7474

cores/esp32/Esp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#include "esp_cpu.h"
2727

2828
/**
29-
* AVR macros for WDT managment
29+
* AVR macros for WDT management
3030
*/
3131
typedef enum {
3232
WDTO_0MS = 0, //!< WDTO_0MS

cores/esp32/HWCDC.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ static void hw_cdc_isr_handler(void *arg) {
9595
}
9696
size_t queued_size;
9797
uint8_t *queued_buff = (uint8_t *)xRingbufferReceiveUpToFromISR(tx_ring_buf, &queued_size, 64);
98-
// If the hardware fifo is avaliable, write in it. Otherwise, do nothing.
98+
// If the hardware fifo is available, write in it. Otherwise, do nothing.
9999
if (queued_buff != NULL) { //Although tx_queued_bytes may be larger than 0. We may have interrupt before xRingbufferSend() was called.
100100
//Copy the queued buffer into the TX FIFO
101101
usb_serial_jtag_ll_clr_intsts_mask(USB_SERIAL_JTAG_INTR_SERIAL_IN_EMPTY);
@@ -114,7 +114,7 @@ static void hw_cdc_isr_handler(void *arg) {
114114
}
115115

116116
if (usbjtag_intr_status & USB_SERIAL_JTAG_INTR_SERIAL_OUT_RECV_PKT) {
117-
// read rx buffer(max length is 64), and send avaliable data to ringbuffer.
117+
// read rx buffer(max length is 64), and send available data to ringbuffer.
118118
// Ensure the rx buffer size is larger than RX_MAX_SIZE.
119119
usb_serial_jtag_ll_clr_intsts_mask(USB_SERIAL_JTAG_INTR_SERIAL_OUT_RECV_PKT);
120120
uint32_t rx_fifo_len = usb_serial_jtag_ll_read_rxfifo(rx_data_buf, 64);

cores/esp32/HardwareSerial.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ bool HardwareSerial::setRxFIFOFull(uint8_t fifoBytes)
198198
return retCode;
199199
}
200200

201-
// timout is calculates in time to receive UART symbols at the UART baudrate.
201+
// timeout is calculates in time to receive UART symbols at the UART baudrate.
202202
// the estimation is about 11 bits per symbol (SERIAL_8N1)
203203
bool HardwareSerial::setRxTimeout(uint8_t symbols_timeout)
204204
{
@@ -332,7 +332,7 @@ void HardwareSerial::begin(unsigned long baud, uint32_t config, int8_t rxPin, in
332332
// IDF UART driver keeps Pin setting on restarting. Negative Pin number will keep it unmodified.
333333
// it will detach previous UART attached pins
334334

335-
// indicates that uartbegin() has to initilize a new IDF driver
335+
// indicates that uartbegin() has to initialize a new IDF driver
336336
if (_testUartBegin(_uart_nr, baud ? baud : 9600, config, rxPin, txPin, _rxBufferSize, _txBufferSize, invert, rxfifo_full_thrhd)) {
337337
_destroyEventTask(); // when IDF uart driver must be restarted, _eventTask must finish too
338338
}

cores/esp32/HardwareSerial.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ class HardwareSerial: public Stream
243243
// onReceive will be called on error events (see hardwareSerial_error_t)
244244
void onReceiveError(OnReceiveErrorCb function);
245245

246-
// eventQueueReset clears all events in the queue (the events that trigger onReceive and onReceiveError) - maybe usefull in some use cases
246+
// eventQueueReset clears all events in the queue (the events that trigger onReceive and onReceiveError) - maybe useful in some use cases
247247
void eventQueueReset();
248248

249249
// When pins are changed, it will detach the previous ones

0 commit comments

Comments
 (0)