1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-20 23:05:12 +03:00

9XR-PRO / Sky9x compilation failure when BOLD=NO

This commit is contained in:
bsongis 2014-07-14 17:50:01 +02:00
parent 63aadad10c
commit ee31c51275

View file

@ -104,10 +104,12 @@ void lcd_putcAtt(xcoord_t x, uint8_t y, const unsigned char c, LcdFlags flags)
q = &font_3x5[((uint16_t)c-0x2d)*3]; q = &font_3x5[((uint16_t)c-0x2d)*3];
lcdPutPattern(x, y, q, 3, 5, flags); lcdPutPattern(x, y, q, 3, 5, flags);
} }
#if defined(BOLD_FONT)
else if (flags & BOLD) { else if (flags & BOLD) {
q = &font_5x7_B[c_remapped*5]; q = &font_5x7_B[c_remapped*5];
lcdPutPattern(x, y, q, 5, 7, flags); lcdPutPattern(x, y, q, 5, 7, flags);
} }
#endif
else else
#endif #endif
{ {