Skip to content

Commit ced03f1

Browse files
committed
code spell checking - part1 (core)
I've found a code spellchecker, so this is what can be corrected easily. Changes are only affecting comments, readme and a few user-visible strings. So no functional impact expected.
1 parent 176158c commit ced03f1

23 files changed

+66
-67
lines changed

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@
389389

390390
- Added application level pong websockets reply (#2139)
391391
- Use AsyncTCP 1.0.3 as it mitigates the flickering issue from 0.13.0-b2
392-
- Fixed transition manually updated in preset overriden by field value
392+
- Fixed transition manually updated in preset overridden by field value
393393

394394
#### Build 2108050
395395

@@ -918,7 +918,7 @@
918918

919919
#### Build 2011040
920920

921-
- Inversed Rain direction (fixes #1147)
921+
- Inverted Rain direction (fixes #1147)
922922

923923
#### Build 2011010
924924

@@ -1129,7 +1129,7 @@
11291129

11301130
- Added module info page to web UI
11311131
- Added realtime override functionality to web UI
1132-
- Added individial segment power and brightness to web UI
1132+
- Added individual segment power and brightness to web UI
11331133
- Added feature to one-click select single segment only by tapping segment name
11341134
- Removed palette jumping to default if color is changed
11351135

platformio.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ board_build.flash_mode = dio
763763
; -D RLYPIN=19
764764
; -D BTNPIN=17
765765
; -D IRPIN=18
766-
; -D UWLED_USE_MY_CONFIG
766+
; -U WLED_USE_MY_CONFIG
767767
; -D USERMOD_DALLASTEMPERATURE
768768
; -D USERMOD_FOUR_LINE_DISPLAY
769769
; -D TEMPERATURE_PIN=23

wled00/FX.cpp

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ static uint16_t triwave16(uint16_t in) {
5151
* Generates a tristate square wave w/ attac & decay
5252
* @param x input value 0-255
5353
* @param pulsewidth 0-127
54-
* @param attdec attac & decay, max. pulsewidth / 2
54+
* @param attdec attack & decay, max. pulsewidth / 2
5555
* @returns signed waveform value
5656
*/
5757
static int8_t tristate_square8(uint8_t x, uint8_t pulsewidth, uint8_t attdec) {
@@ -1241,7 +1241,7 @@ uint16_t mode_fireworks() {
12411241
if (SEGMENT.is2D()) SEGMENT.setPixelColorXY(j, k, col);
12421242
else SEGMENT.setPixelColor(index, col);
12431243
SEGENV.aux1 = SEGENV.aux0; // old spark
1244-
SEGENV.aux0 = index; // remember where spark occured
1244+
SEGENV.aux0 = index; // remember where spark occurred
12451245
}
12461246
}
12471247
return FRAMETIME;
@@ -1278,8 +1278,8 @@ uint16_t mode_rain() {
12781278
SEGENV.aux0++; // increase spark index
12791279
SEGENV.aux1++;
12801280
}
1281-
if (SEGENV.aux0 == 0) SEGENV.aux0 = UINT16_MAX; // reset previous spark positiom
1282-
if (SEGENV.aux1 == 0) SEGENV.aux0 = UINT16_MAX; // reset previous spark positiom
1281+
if (SEGENV.aux0 == 0) SEGENV.aux0 = UINT16_MAX; // reset previous spark position
1282+
if (SEGENV.aux1 == 0) SEGENV.aux0 = UINT16_MAX; // reset previous spark position
12831283
if (SEGENV.aux0 >= width*height) SEGENV.aux0 = 0; // ignore
12841284
if (SEGENV.aux1 >= width*height) SEGENV.aux1 = 0;
12851285
}
@@ -3707,7 +3707,7 @@ uint16_t mode_tetrix(void) {
37073707
}
37083708

37093709
if (drop->step == 0) { // init brick
3710-
// speed calcualtion: a single brick should reach bottom of strip in X seconds
3710+
// speed calculation: a single brick should reach bottom of strip in X seconds
37113711
// if the speed is set to 1 this should take 5s and at 255 it should take 0.25s
37123712
// as this is dependant on SEGLEN it should be taken into account and the fact that effect runs every FRAMETIME s
37133713
int speed = SEGMENT.speed ? SEGMENT.speed : random8(1,255);
@@ -3790,7 +3790,7 @@ static const char _data_FX_MODE_PLASMA[] PROGMEM = "Plasma@Phase,!;!;!";
37903790

37913791
/*
37923792
* Percentage display
3793-
* Intesity values from 0-100 turn on the leds.
3793+
* Intensity values from 0-100 turn on the leds.
37943794
*/
37953795
uint16_t mode_percent(void) {
37963796

@@ -3843,7 +3843,7 @@ static const char _data_FX_MODE_PERCENT[] PROGMEM = "Percent@,% of fill,,,,One c
38433843

38443844
/*
38453845
* Modulates the brightness similar to a heartbeat
3846-
* (unimplemented?) tries to draw an ECG aproximation on a 2D matrix
3846+
* (unimplemented?) tries to draw an ECG approximation on a 2D matrix
38473847
*/
38483848
uint16_t mode_heartbeat(void) {
38493849
uint8_t bpm = 40 + (SEGMENT.speed >> 3);
@@ -4525,7 +4525,7 @@ uint16_t mode_tv_simulator(void) {
45254525
// how much time is elapsed ?
45264526
tvSimulator->elapsed = strip.now - tvSimulator->startTime;
45274527

4528-
// fade from prev volor to next color
4528+
// fade from prev color to next color
45294529
if (tvSimulator->elapsed < tvSimulator->fadeTime) {
45304530
r = map(tvSimulator->elapsed, 0, tvSimulator->fadeTime, tvSimulator->pr, nr);
45314531
g = map(tvSimulator->elapsed, 0, tvSimulator->fadeTime, tvSimulator->pg, ng);
@@ -6487,7 +6487,7 @@ uint16_t mode_gravcenter(void) { // Gravcenter. By Andrew Tuline.
64876487
SEGMENT.fade_out(251); // 30%
64886488

64896489
float segmentSampleAvg = volumeSmth * (float)SEGMENT.intensity / 255.0f;
6490-
segmentSampleAvg *= 0.125; // divide by 8, to compensate for later "sensitivty" upscaling
6490+
segmentSampleAvg *= 0.125; // divide by 8, to compensate for later "sensitivity" upscaling
64916491

64926492
float mySampleAvg = mapf(segmentSampleAvg*2.0, 0, 32, 0, (float)SEGLEN/2.0); // map to pixels available in current segment
64936493
uint16_t tempsamp = constrain(mySampleAvg, 0, SEGLEN/2); // Keep the sample from overflowing.
@@ -6542,7 +6542,7 @@ uint16_t mode_gravcentric(void) { // Gravcentric. By Andrew
65426542
SEGMENT.fade_out(253); // 50%
65436543

65446544
float segmentSampleAvg = volumeSmth * (float)SEGMENT.intensity / 255.0;
6545-
segmentSampleAvg *= 0.125f; // divide by 8, to compensate for later "sensitivty" upscaling
6545+
segmentSampleAvg *= 0.125f; // divide by 8, to compensate for later "sensitivity" upscaling
65466546

65476547
float mySampleAvg = mapf(segmentSampleAvg*2.0, 0.0f, 32.0f, 0.0f, (float)SEGLEN/2.0); // map to pixels availeable in current segment
65486548
int tempsamp = constrain(mySampleAvg, 0, SEGLEN/2); // Keep the sample from overflowing.
@@ -6609,7 +6609,7 @@ uint16_t mode_gravimeter(void) { // Gravmeter. By Andrew Tuline.
66096609

66106610
float segmentSampleAvg = (volumeSmth * sensGain) - sensOffset;
66116611
if (segmentSampleAvg < 0) segmentSampleAvg = 0; // could be <0 due to sensOffset
6612-
segmentSampleAvg *= 0.25f; // divide by 4, to compensate for later "sensitivty" upscaling
6612+
segmentSampleAvg *= 0.25f; // divide by 4, to compensate for later "sensitivity" upscaling
66136613
float mySampleAvg = mapf(segmentSampleAvg*2.0f, 0, 64, 0, (SEGLEN-1)); // map to pixels availeable in current segment
66146614
int tempsamp = constrain(mySampleAvg,0,SEGLEN-1); // Keep the sample from overflowing.
66156615
uint8_t gravity = 8 - SEGMENT.speed/32;
@@ -6753,7 +6753,7 @@ uint16_t mode_midnoise(void) { // Midnoise. By Andrew Tuline.
67536753
//SEGMENT.fade_out(SEGMENT.speed);
67546754

67556755
float tmpSound2 = volumeSmth * (float)SEGMENT.intensity / 256.0; // Too sensitive.
6756-
tmpSound2 *= (float)SEGMENT.intensity / 128.0; // Reduce sensitity/length.
6756+
tmpSound2 *= (float)SEGMENT.intensity / 128.0; // Reduce sensitivity/length.
67576757

67586758
int maxLen = mapf(tmpSound2, 0, 127, 0, SEGLEN/2);
67596759
if (maxLen >SEGLEN/2) maxLen = SEGLEN/2;
@@ -7269,7 +7269,7 @@ uint16_t mode_freqmatrix(void) { // Freqmatrix. By Andreas Plesch
72697269

72707270
if (FFT_MajorPeak > MAX_FREQUENCY) FFT_MajorPeak = 1;
72717271
// MajorPeak holds the freq. value which is most abundant in the last sample.
7272-
// With our sampling rate of 10240Hz we have a usable freq range from roughtly 80Hz to 10240/2 Hz
7272+
// With our sampling rate of 10240Hz we have a usable freq range from roughly 80Hz to 10240/2 Hz
72737273
// we will treat everything with less than 65Hz as 0
72747274

72757275
if ((FFT_MajorPeak > 80.0f) && (volumeSmth > 0.25f)) { // WLEDMM
@@ -7290,7 +7290,7 @@ uint16_t mode_freqmatrix(void) { // Freqmatrix. By Andreas Plesch
72907290

72917291
return FRAMETIME;
72927292
} // mode_freqmatrix()
7293-
static const char _data_FX_MODE_FREQMATRIX[] PROGMEM = "Freqmatrix@Speed,Sound effect,Low bin,High bin,Sensivity;;;1f;c1=18,c2=48,c3=6,m12=3,si=0"; // Corner, Beatsin; notes range C3 to C7
7293+
static const char _data_FX_MODE_FREQMATRIX[] PROGMEM = "Freqmatrix@Speed,Sound effect,Low bin,High bin,Sensitivity;;;1f;c1=18,c2=48,c3=6,m12=3,si=0"; // Corner, Beatsin; notes range C3 to C7
72947294

72957295

72967296
//////////////////////
@@ -7374,7 +7374,7 @@ uint16_t mode_freqwave(void) { // Freqwave. By Andreas Pleschun
73747374

73757375
if (FFT_MajorPeak > MAX_FREQUENCY) FFT_MajorPeak = 1.0f;
73767376
// MajorPeak holds the freq. value which is most abundant in the last sample.
7377-
// With our sampling rate of 10240Hz we have a usable freq range from roughtly 80Hz to 10240/2 Hz
7377+
// With our sampling rate of 10240Hz we have a usable freq range from roughly 80Hz to 10240/2 Hz
73787378
// we will treat everything with less than 65Hz as 0
73797379

73807380
if ((FFT_MajorPeak < 80) || (volumeSmth < 1.0f) || (FFT_MajorPeak > 10800)) { // silence or out-of-range --> black
@@ -7437,7 +7437,7 @@ uint16_t mode_gravfreq(void) { // Gravfreq. By Andrew Tuline.
74377437
SEGMENT.fadeToBlackBy(96);
74387438

74397439
float segmentSampleAvg = volumeSmth * (float)SEGMENT.intensity / 255.0f;
7440-
segmentSampleAvg *= 0.125; // divide by 8, to compensate for later "sensitivty" upscaling
7440+
segmentSampleAvg *= 0.125f; // divide by 8, to compensate for later "sensitivity" upscaling
74417441

74427442
float mySampleAvg = mapf(segmentSampleAvg*2.0f, 0,32, 0, (float)SEGLEN/2.0); // map to pixels availeable in current segment
74437443
int tempsamp = constrain(mySampleAvg,0,SEGLEN/2); // Keep the sample from overflowing.
@@ -7466,7 +7466,7 @@ uint16_t mode_gravfreq(void) { // Gravfreq. By Andrew Tuline.
74667466
SEGENV.aux0 = indexNew;
74677467
return FRAMETIME;
74687468
} // mode_gravfreq()
7469-
static const char _data_FX_MODE_GRAVFREQ[] PROGMEM = "Gravfreq ☾@Rate of fall,Sensivity;!,!;!;1f;ix=128,m12=0,si=0"; // Pixels, Beatsin
7469+
static const char _data_FX_MODE_GRAVFREQ[] PROGMEM = "Gravfreq ☾@Rate of fall,Sensitivity;!,!;!;1f;ix=128,m12=0,si=0"; // Pixels, Beatsin
74707470

74717471

74727472
//////////////////////
@@ -8152,7 +8152,7 @@ static const char _data_FX_MODE_2DWAVINGCELL[] PROGMEM = "Waving Cell@!,,Amplitu
81528152
static const char _data_RESERVED[] PROGMEM = "RSVD";
81538153

81548154
// add (or replace reserved) effect mode and data into vector
8155-
// use id==255 to find unallocatd gaps (with "Reserved" data string)
8155+
// use id==255 to find unallocated gaps (with "Reserved" data string)
81568156
// if vector size() is smaller than id (single) data is appended at the end (regardless of id)
81578157
void WS2812FX::addEffect(uint8_t id, mode_ptr mode_fn, const char *mode_name) {
81588158
if (id == 255) { // find empty slot

wled00/FX.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,12 +424,12 @@ typedef struct Segment {
424424
uint8_t _briT; // temporary brightness
425425
uint8_t _cctT; // temporary CCT
426426
CRGBPalette16 _palT; // temporary palette
427-
uint8_t _prevPaletteBlends; // number of previous palette blends (there are max 255 belnds possible)
427+
uint8_t _prevPaletteBlends; // number of previous palette blends (there are max 255 blends possible)
428428
uint8_t _modeP; // previous mode/effect
429429
//uint16_t _aux0, _aux1; // previous mode/effect runtime data
430430
//uint32_t _step, _call; // previous mode/effect runtime data
431431
//byte *_data; // previous mode/effect runtime data
432-
unsigned long _start; // must accommodate millis()
432+
unsigned long _start; // must accommodate millis()
433433
uint16_t _dur;
434434
Transition(uint16_t dur=750)
435435
: _briT(255)

wled00/FX_fcn.cpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ CRGBPalette16 &Segment::loadPalette(CRGBPalette16 &targetPalette, uint8_t pal) {
349349
CRGB sec = gamma32(colors[1]);
350350
CRGB ter = gamma32(colors[2]);
351351
targetPalette = CRGBPalette16(ter,sec,prim); break;}
352-
case 5: {//primary + secondary (+tert if not off), more distinct
352+
case 5: {//primary + secondary (+tertiary if not off), more distinct
353353
CRGB prim = gamma32(colors[0]);
354354
CRGB sec = gamma32(colors[1]);
355355
if (colors[2]) {
@@ -1768,8 +1768,7 @@ void WS2812FX::estimateCurrentAndLimitBri() {
17681768
}
17691769

17701770
void WS2812FX::show(void) {
1771-
1772-
// avoid race condition, caputre _callback value
1771+
// avoid race condition, capture _callback value
17731772
show_callback callback = _callback;
17741773
if (callback) callback();
17751774

@@ -1815,7 +1814,7 @@ bool WS2812FX::isUpdating() {
18151814

18161815
/**
18171816
* Returns the refresh rate of the LED strip. Useful for finding out whether a given setup is fast enough.
1818-
* Only updates on show() or is set to 0 fps if last show is more than 2 secs ago, so accurary varies
1817+
* Only updates on show() or is set to 0 fps if last show is more than 2 secs ago, so accuracy varies
18191818
*/
18201819
uint16_t WS2812FX::getFps() {
18211820
if (millis() - _lastShow > 2000) return 0;

wled00/bus_manager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ void ColorOrderMap::add(uint16_t start, uint16_t len, uint8_t colorOrder) {
7070

7171
uint8_t IRAM_ATTR ColorOrderMap::getPixelColorOrder(uint16_t pix, uint8_t defaultColorOrder) const {
7272
if (_count == 0) return defaultColorOrder;
73-
// upper nibble containd W swap information
73+
// upper nibble contains W swap information
7474
uint8_t swapW = defaultColorOrder >> 4;
7575
for (uint8_t i = 0; i < _count; i++) {
7676
if (pix >= _mappings[i].start && pix < (_mappings[i].start + _mappings[i].len)) {

wled00/bus_wrapper.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,17 @@
6969
#define I_32_RN_NEO_3 21
7070
#define I_32_I0_NEO_3 22
7171
#define I_32_I1_NEO_3 23
72-
#define I_32_BB_NEO_3 24 // bitbangging on ESP32 not recommended
72+
#define I_32_BB_NEO_3 24 // bitbanging on ESP32 not recommended
7373
//RGBW
7474
#define I_32_RN_NEO_4 25
7575
#define I_32_I0_NEO_4 26
7676
#define I_32_I1_NEO_4 27
77-
#define I_32_BB_NEO_4 28 // bitbangging on ESP32 not recommended
77+
#define I_32_BB_NEO_4 28 // bitbanging on ESP32 not recommended
7878
//400Kbps
7979
#define I_32_RN_400_3 29
8080
#define I_32_I0_400_3 30
8181
#define I_32_I1_400_3 31
82-
#define I_32_BB_400_3 32 // bitbangging on ESP32 not recommended
82+
#define I_32_BB_400_3 32 // bitbanging on ESP32 not recommended
8383
//TM1814 (RGBW)
8484
#define I_32_RN_TM1_4 33
8585
#define I_32_I0_TM1_4 34
@@ -374,7 +374,7 @@ class PolyBus {
374374
case I_32_I1_UCS_4: (static_cast<B_32_I1_UCS_4*>(busPtr))->Begin(); break;
375375
#endif
376376
// case I_32_BB_UCS_4: (static_cast<B_32_BB_UCS_4*>(busPtr))->Begin(); break;
377-
// ESP32 can (and should, to avoid inadvertantly driving the chip select signal) specify the pins used for SPI, but only in begin()
377+
// ESP32 can (and should, to avoid inadvertently driving the chip select signal) specify the pins used for SPI, but only in begin()
378378
case I_HS_DOT_3: beginDotStar<B_HS_DOT_3*>(busPtr, pins[1], -1, pins[0], -1, clock_kHz); break;
379379
case I_HS_LPD_3: beginDotStar<B_HS_LPD_3*>(busPtr, pins[1], -1, pins[0], -1, clock_kHz); break;
380380
case I_HS_LPO_3: beginDotStar<B_HS_LPO_3*>(busPtr, pins[1], -1, pins[0], -1, clock_kHz); break;

wled00/button.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ void handleAnalog(uint8_t b)
171171
// remove noise & reduce frequency of UI updates
172172
if (abs(int(aRead) - int(oldRead[b])) <= POT_SENSITIVITY) return; // no significant change in reading
173173

174-
// Unomment the next lines if you still see flickering related to potentiometer
174+
// Un-Comment the next lines if you still see flickering related to potentiometer
175175
// This waits until strip finishes updating (why: strip was not updating at the start of handleButton() but may have started during analogRead()?)
176176
//unsigned long wait_started = millis();
177177
//while(strip.isUpdating() && (millis() - wait_started < STRIP_WAIT_TIME)) {
@@ -375,7 +375,7 @@ void handleIO()
375375
if (!offMode) {
376376
#ifdef ESP8266
377377
// turn off built-in LED if strip is turned off
378-
// this will break digital bus so will need to be reinitialised on On
378+
// this will break digital bus so will need to be re-initialised on On
379379
PinOwner ledPinOwner = pinManager.getPinOwner(LED_BUILTIN);
380380
if (!strip.isOffRefreshRequired() && (ledPinOwner == PinOwner::None || ledPinOwner == PinOwner::BusDigital)) {
381381
pinMode(LED_BUILTIN, OUTPUT);

wled00/cfg.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ bool deserializeConfig(JsonObject doc, bool fromFS) {
337337
PinManagerPinType i2c[2] = { { i2c_sda, true }, { i2c_scl, true } };
338338
if (i2c_scl >= 0 && i2c_sda >= 0 && pinManager.allocateMultiplePins(i2c, 2, PinOwner::HW_I2C)) {
339339
#ifdef ESP32
340-
Wire.setPins(i2c_sda, i2c_scl); // this will fail if Wire is initilised (Wire.begin() called prior)
340+
Wire.setPins(i2c_sda, i2c_scl); // this will fail if Wire is initialised (Wire.begin() called prior)
341341
#endif
342342
// Wire.begin(); // WLEDMM moved into pinManager
343343
DEBUG_PRINTF("pinmgr success for global i2c %d %d\n", i2c_sda, i2c_scl);

wled00/const.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -199,8 +199,8 @@
199199
#define DMX_MODE_MULTIPLE_RGB 4 //every LED is addressed with its own RGB (ledCount * 3 channels)
200200
#define DMX_MODE_MULTIPLE_DRGB 5 //every LED is addressed with its own RGB and share a master dimmer (ledCount * 3 + 1 channels)
201201
#define DMX_MODE_MULTIPLE_RGBW 6 //every LED is addressed with its own RGBW (ledCount * 4 channels)
202-
#define DMX_MODE_EFFECT_SEGMENT 8 //trigger standalone effects of WLED (15 channels per segement)
203-
#define DMX_MODE_EFFECT_SEGMENT_W 9 //trigger standalone effects of WLED (18 channels per segement)
202+
#define DMX_MODE_EFFECT_SEGMENT 8 //trigger standalone effects of WLED (15 channels per segment)
203+
#define DMX_MODE_EFFECT_SEGMENT_W 9 //trigger standalone effects of WLED (18 channels per segment)
204204
#define DMX_MODE_PRESET 10 //apply presets (1 channel)
205205

206206
//Light capability byte (unused) 0bRCCCTTTT
@@ -317,7 +317,7 @@
317317
#define SEG_DIFFERS_OPT 0x02 // all segment options except: selected, reset & transitional
318318
#define SEG_DIFFERS_COL 0x04 // colors
319319
#define SEG_DIFFERS_FX 0x08 // effect/mode parameters
320-
#define SEG_DIFFERS_BOUNDS 0x10 // segment start/stop ounds
320+
#define SEG_DIFFERS_BOUNDS 0x10 // segment start/stop bounds
321321
#define SEG_DIFFERS_GSO 0x20 // grouping, spacing & offset
322322
#define SEG_DIFFERS_SEL 0x80 // selected
323323

@@ -340,7 +340,7 @@
340340
#define ERR_FS_PLOAD 12 // It was attempted to load a preset that does not exist
341341
#define ERR_FS_IRLOAD 13 // It was attempted to load an IR JSON cmd, but the "ir.json" file does not exist
342342
#define ERR_FS_RMLOAD 14 // It was attempted to load an remote JSON cmd, but the "remote.json" file does not exist
343-
#define ERR_FS_GENERAL 19 // A general unspecified filesystem error occured
343+
#define ERR_FS_GENERAL 19 // A general unspecified filesystem error occurred
344344
#define ERR_OVERTEMP 30 // An attached temperature sensor has measured above threshold temperature (not implemented)
345345
#define ERR_OVERCURRENT 31 // An attached current sensor has measured a current above the threshold (not implemented)
346346
#define ERR_UNDERVOLT 32 // An attached voltmeter has measured a voltage below the threshold (not implemented)
@@ -369,7 +369,7 @@
369369
#define SUBPAGE_JS 254
370370
#define SUBPAGE_WELCOME 255
371371

372-
#define NTP_PACKET_SIZE 48 // size of NTP recive buffer
372+
#define NTP_PACKET_SIZE 48 // size of NTP receive buffer
373373
#define NTP_MIN_PACKET_SIZE 48 // min expected size - NTP v4 allows for "extended information" appended to the standard fields
374374

375375
//maximum number of rendered LEDs - this does not have to match max. physical LEDs, e.g. if there are virtual busses
@@ -471,7 +471,7 @@
471471
//this is merely a default now and can be changed at runtime
472472
#ifndef LEDPIN
473473
#if defined(ESP8266) || (defined(ARDUINO_ARCH_ESP32) && defined(BOARD_HAS_PSRAM)) || defined(CONFIG_IDF_TARGET_ESP32C3)
474-
#define LEDPIN 2 // GPIO2 (D4) on Wemod D1 mini compatible boards
474+
#define LEDPIN 2 // GPIO2 (D4) on Wemos D1 mini compatible boards
475475
#else
476476
#define LEDPIN 16 // aligns with GPIO2 (D4) on Wemos D1 mini32 compatible boards
477477
#endif
@@ -492,7 +492,7 @@
492492
#define INTERFACE_UPDATE_COOLDOWN 2000 //time in ms to wait between websockets, alexa, and MQTT updates
493493

494494
// HW_PIN_SCL & HW_PIN_SDA are used for information in usermods settings page and usermods themselves
495-
// which GPIO pins are actually used in a hardwarea layout (controller board)
495+
// which GPIO pins are actually used in a hardware layout (controller board)
496496
//WLEDMM: unchangeable pins are not treated here by undef them, but elsewhere in the code
497497
// defaults for 1st I2C on ESP32 (Wire global)
498498
#ifndef HW_PIN_SCL
@@ -503,7 +503,7 @@
503503
#endif
504504

505505
// HW_PIN_SCLKSPI & HW_PIN_MOSISPI & HW_PIN_MISOSPI are used for information in usermods settings page and usermods themselves
506-
// which GPIO pins are actually used in a hardwarea layout (controller board)
506+
// which GPIO pins are actually used in a hardware layout (controller board)
507507
//WLEDMM: unchangeable pins are not treated here by undef them, but elsewhere in the code
508508
// defaults for VSPI on ESP32 (SPI global, SPI.cpp) as HSPI is used by WLED (bus_wrapper.h)
509509
#ifndef HW_PIN_CLOCKSPI

0 commit comments

Comments
 (0)