[all] A few other fixes with DBLSIZE font. We will decide which letters are really needed here. I am not sure that the , is needed!
This commit is contained in:
File diff suppressed because one or more lines are too long
Binary file not shown.
|
Before Width: | Height: | Size: 846 B After Width: | Height: | Size: 1.3 KiB |
@@ -1309,9 +1309,7 @@ void menuModelSetup(uint8_t event)
|
||||
#if defined(DSM2)
|
||||
else {
|
||||
lcd_putsAtt(MODEL_SETUP_2ND_COLUMN+3*FW, y, STR_MODULE_RANGE, m_posHorz==1 ? attr : 0);
|
||||
if (attr && m_posHorz>0 && s_editMode>0) {
|
||||
s_rangecheck_mode = true;
|
||||
}
|
||||
s_rangecheck_mode = (attr && m_posHorz>0 && editMode>0); // [MENU] key toggles range check mode
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
+7
-1
@@ -118,8 +118,14 @@ void lcd_putcAtt(xcoord_t x, uint8_t y, const unsigned char c, LcdFlags flags)
|
||||
c_remapped = c - 'a' + 37;
|
||||
else if (c==':')
|
||||
c_remapped = 63;
|
||||
else if (c=='-')
|
||||
else if (c=='_')
|
||||
c_remapped = 64;
|
||||
else if (c==',')
|
||||
c_remapped = 65;
|
||||
else if (c=='-')
|
||||
c_remapped = 66;
|
||||
else if (c=='.')
|
||||
c_remapped = 67;
|
||||
else
|
||||
c_remapped = 0;
|
||||
|
||||
|
||||
+1
-1
@@ -175,7 +175,7 @@ char idx2char(int8_t idx)
|
||||
if (idx < 27) return 'A' + idx - 1;
|
||||
if (idx < 37) return '0' + idx - 27;
|
||||
if (idx <= 40) return pgm_read_byte(s_charTab+idx-37);
|
||||
if (idx <= ZCHAR_MAX) return 'z' + 5 + idx - 40;
|
||||
// Needed if we want the special chars ... if (idx <= ZCHAR_MAX) return 'z' + 5 + idx - 40;
|
||||
return ' ';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user