Skip to content

Commit a8f1bd5

Browse files
Laurence BankLaurence Bank
authored andcommitted
missed removing one more #ifdef
1 parent 8bab5db commit a8f1bd5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Adafruit_GFX.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1176,7 +1176,6 @@ void Adafruit_GFX::drawChar(int16_t x, int16_t y, unsigned char c,
11761176
c++; // Handle 'classic' charset behavior
11771177

11781178
startWrite();
1179-
#ifndef __AVR__
11801179
if (color != bg) { // faster opaque text
11811180
setAddrWindow(x, y, 5*size_x, 7*size_y);
11821181
for (int8_t j = 0; j < 7; j++) { // 7 lines
@@ -1189,7 +1188,6 @@ void Adafruit_GFX::drawChar(int16_t x, int16_t y, unsigned char c,
11891188
} // repeat for each line of size_y
11901189
} // for j
11911190
} else
1192-
#endif // __AVR__
11931191
{ // slower text which doesn't overwrite the background color
11941192
for (int8_t i = 0; i < 5; i++) { // Char bitmap = 5 columns
11951193
uint8_t line = pgm_read_byte(&font[c * 5 + i]);

0 commit comments

Comments
 (0)