Skip to content

Commit 2853735

Browse files
committed
remove unreachable code
1 parent 102bb14 commit 2853735

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

OLEDDisplay.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,8 @@ class OLEDDisplay : public Print {
308308
LASTCHAR = ch;
309309

310310
switch (last) { // conversion depnding on first UTF8-character
311-
case 0xC2: return (uint8_t) ch; break;
312-
case 0xC3: return (uint8_t) (ch | 0xC0); break;
311+
case 0xC2: return (uint8_t) ch;
312+
case 0xC3: return (uint8_t) (ch | 0xC0);
313313
case 0x82: if (ch == 0xAC) return (uint8_t) 0x80; // special case Euro-symbol
314314
}
315315

0 commit comments

Comments
 (0)