code spell checking - part3 (usermods)

if you can spell Fahrenheit, you can't spell Celsius. And vice versa :-)
This commit is contained in:
Frank
2023-12-14 03:52:06 +01:00
parent d00b32e6de
commit 9024872f63
41 changed files with 98 additions and 98 deletions

View File

@@ -4,7 +4,7 @@
//
// Inspired by the original v2 usermods
// * usermod_v2_rotaty_encoder_ui
// * usermod_v2_rotary_encoder_ui
//
// v2 usermod that provides a rotary encoder-based UI.
//
@@ -79,7 +79,7 @@ static int re_qstringCmp(const void *ap, const void *bp) {
// Lowercase
bVal -= 32;
}
// Relly we shouldn't ever get to '\0'
// Really we shouldn't ever get to '\0'
if (aVal == '"' || bVal == '"' || aVal == '\0' || bVal == '\0') {
// We're done. one is a substring of the other
// or something happenend and the quote didn't stop us.
@@ -542,7 +542,7 @@ void RotaryEncoderUIUsermod::loop()
bool changedState = false;
char lineBuffer[64] = { '\0' };
do {
// finde new state
// find new state
switch (newState) {
case 0: strcpy_P(lineBuffer, PSTR("Brightness")); changedState = true; break;
case 1: if (!extractModeSlider(effectCurrent, 0, lineBuffer, 63)) newState++; else changedState = true; break; // speed