trunk fmt

This commit is contained in:
Thomas Göttgens 2024-08-29 21:51:06 +02:00
parent a6cc7041d3
commit 50631f96fc
3 changed files with 442 additions and 447 deletions

View File

@ -333,13 +333,11 @@ class Screen : public concurrency::OSThread
if (ch == 147)
return (uint8_t)(ch); // Ó
else
if (ch == 179)
else if (ch == 179)
return (uint8_t)(148); // ó
else
return (uint8_t)(ch | 0xC0);
break;
}
case 0xC4: {
@ -351,8 +349,7 @@ class Screen : public concurrency::OSThread
SKIPREST = false;
if (ch == 132)
return (uint8_t)(136); // ń
else
if (ch == 186)
else if (ch == 186)
return (uint8_t)(137); // ź
else
return (uint8_t)(ch);
@ -364,7 +361,6 @@ class Screen : public concurrency::OSThread
if (ch == 0xC2 || ch == 0xC3 || ch == 0xC4 || ch == 0xC5)
return (uint8_t)0;
#endif
#if defined(OLED_UA) || defined(OLED_RU)
@ -425,7 +421,6 @@ class Screen : public concurrency::OSThread
#endif
// If we already returned an unconvertable-character symbol for this unconvertable-character sequence, return NULs for the
// rest of it
if (SKIPREST)