mirror of
https://github.com/opentx/opentx.git
synced 2025-07-25 17:25:13 +03:00
Some graphics glitches corrected and some more flash savings
All features costs only 4bytes so far
This commit is contained in:
parent
682517b0ed
commit
7e5d0a8bba
2 changed files with 13 additions and 11 deletions
|
@ -923,11 +923,11 @@ void putsStrIdx(xcoord_t x, uint8_t y, const pm_char *str, uint8_t idx, LcdFlags
|
|||
{
|
||||
lcd_putsAtt(x, y, str, att);
|
||||
|
||||
if (att & SMLSIZE)
|
||||
lcd_outdezNAtt(lcdLastPos+1, y, idx, att|LEFT, 2);
|
||||
else
|
||||
lcd_outdezNAtt(lcdLastPos, y, idx, att|LEFT, 2);
|
||||
|
||||
// if (att & SMLSIZE)
|
||||
// lcd_outdezNAtt(lcdLastPos+1, y, idx, att|LEFT, 2);
|
||||
// else
|
||||
lcd_outdezNAtt(lcdNextPos, y, idx, att|LEFT, 2);
|
||||
/*
|
||||
#if defined(CPUARM)
|
||||
uint8_t lastPos = lcdLastPos;
|
||||
#endif
|
||||
|
@ -937,6 +937,7 @@ void putsStrIdx(xcoord_t x, uint8_t y, const pm_char *str, uint8_t idx, LcdFlags
|
|||
#if defined(CPUARM)
|
||||
lcdLastPos = lastPos;
|
||||
#endif
|
||||
*/
|
||||
}
|
||||
|
||||
void putsMixerSource(xcoord_t x, uint8_t y, uint8_t idx, LcdFlags att)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue