Skip to content

Commit 586a6ea

Browse files
committed
Fix length typo
1 parent 7856de7 commit 586a6ea

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

cores/esp32/WString.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,7 @@ unsigned char String::equalsConstantTime(const String &s2) const {
555555
//at this point lengths are the same
556556
if(len() == 0)
557557
return 1;
558-
//at this point lenghts are the same and non-zero
558+
//at this point lengths are the same and non-zero
559559
const char *p1 = buffer();
560560
const char *p2 = s2.buffer();
561561
unsigned int equalchars = 0;

libraries/HTTPClient/examples/StreamHttpClient/StreamHttpClient.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ void loop() {
5656
// file found at server
5757
if(httpCode == HTTP_CODE_OK) {
5858

59-
// get lenght of document (is -1 when Server sends no Content-Length header)
59+
// get length of document (is -1 when Server sends no Content-Length header)
6060
int len = http.getSize();
6161

6262
// create buffer for read

tools/sdk/esp32/include/esp_rom/include/esp32s2/rom/usb/cpio.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ typedef enum {
7979
* The initial time with reason=CPIO_RSN_FILE_INITIAL, when more data is available with
8080
* CPIO_RSN_FILE_MORE and finally with CPIO_RSN_FILE_END. For these calls, fileinfo
8181
* will again contain file information. buff will be the information contained in the
82-
* file at offset buff_offset, and the lenght of this buffer will be in buff_len.
82+
* file at offset buff_offset, and the length of this buffer will be in buff_len.
8383
*
8484
* The library guarantees to feed all file data to the callback consequitively, so
8585
* within the same file, the buff_offset from a call will always be (buff_offset+buff_len)

tools/sdk/esp32/include/esp_rom/include/esp32s3/rom/usb/cpio.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ typedef enum {
7979
* The initial time with reason=CPIO_RSN_FILE_INITIAL, when more data is available with
8080
* CPIO_RSN_FILE_MORE and finally with CPIO_RSN_FILE_END. For these calls, fileinfo
8181
* will again contain file information. buff will be the information contained in the
82-
* file at offset buff_offset, and the lenght of this buffer will be in buff_len.
82+
* file at offset buff_offset, and the length of this buffer will be in buff_len.
8383
*
8484
* The library guarantees to feed all file data to the callback consequitively, so
8585
* within the same file, the buff_offset from a call will always be (buff_offset+buff_len)

tools/sdk/esp32c3/include/esp_rom/include/esp32s2/rom/usb/cpio.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ typedef enum {
7979
* The initial time with reason=CPIO_RSN_FILE_INITIAL, when more data is available with
8080
* CPIO_RSN_FILE_MORE and finally with CPIO_RSN_FILE_END. For these calls, fileinfo
8181
* will again contain file information. buff will be the information contained in the
82-
* file at offset buff_offset, and the lenght of this buffer will be in buff_len.
82+
* file at offset buff_offset, and the length of this buffer will be in buff_len.
8383
*
8484
* The library guarantees to feed all file data to the callback consequitively, so
8585
* within the same file, the buff_offset from a call will always be (buff_offset+buff_len)

tools/sdk/esp32c3/include/esp_rom/include/esp32s3/rom/usb/cpio.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ typedef enum {
7979
* The initial time with reason=CPIO_RSN_FILE_INITIAL, when more data is available with
8080
* CPIO_RSN_FILE_MORE and finally with CPIO_RSN_FILE_END. For these calls, fileinfo
8181
* will again contain file information. buff will be the information contained in the
82-
* file at offset buff_offset, and the lenght of this buffer will be in buff_len.
82+
* file at offset buff_offset, and the length of this buffer will be in buff_len.
8383
*
8484
* The library guarantees to feed all file data to the callback consequitively, so
8585
* within the same file, the buff_offset from a call will always be (buff_offset+buff_len)

tools/sdk/esp32s2/include/esp_rom/include/esp32s2/rom/usb/cpio.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ typedef enum {
7979
* The initial time with reason=CPIO_RSN_FILE_INITIAL, when more data is available with
8080
* CPIO_RSN_FILE_MORE and finally with CPIO_RSN_FILE_END. For these calls, fileinfo
8181
* will again contain file information. buff will be the information contained in the
82-
* file at offset buff_offset, and the lenght of this buffer will be in buff_len.
82+
* file at offset buff_offset, and the length of this buffer will be in buff_len.
8383
*
8484
* The library guarantees to feed all file data to the callback consequitively, so
8585
* within the same file, the buff_offset from a call will always be (buff_offset+buff_len)

tools/sdk/esp32s2/include/esp_rom/include/esp32s3/rom/usb/cpio.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ typedef enum {
7979
* The initial time with reason=CPIO_RSN_FILE_INITIAL, when more data is available with
8080
* CPIO_RSN_FILE_MORE and finally with CPIO_RSN_FILE_END. For these calls, fileinfo
8181
* will again contain file information. buff will be the information contained in the
82-
* file at offset buff_offset, and the lenght of this buffer will be in buff_len.
82+
* file at offset buff_offset, and the length of this buffer will be in buff_len.
8383
*
8484
* The library guarantees to feed all file data to the callback consequitively, so
8585
* within the same file, the buff_offset from a call will always be (buff_offset+buff_len)

0 commit comments

Comments
 (0)