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