[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)
|
#if defined(DSM2)
|
||||||
else {
|
else {
|
||||||
lcd_putsAtt(MODEL_SETUP_2ND_COLUMN+3*FW, y, STR_MODULE_RANGE, m_posHorz==1 ? attr : 0);
|
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 = (attr && m_posHorz>0 && editMode>0); // [MENU] key toggles range check mode
|
||||||
s_rangecheck_mode = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
#endif
|
#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;
|
c_remapped = c - 'a' + 37;
|
||||||
else if (c==':')
|
else if (c==':')
|
||||||
c_remapped = 63;
|
c_remapped = 63;
|
||||||
else if (c=='-')
|
else if (c=='_')
|
||||||
c_remapped = 64;
|
c_remapped = 64;
|
||||||
|
else if (c==',')
|
||||||
|
c_remapped = 65;
|
||||||
|
else if (c=='-')
|
||||||
|
c_remapped = 66;
|
||||||
|
else if (c=='.')
|
||||||
|
c_remapped = 67;
|
||||||
else
|
else
|
||||||
c_remapped = 0;
|
c_remapped = 0;
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -175,7 +175,7 @@ char idx2char(int8_t idx)
|
|||||||
if (idx < 27) return 'A' + idx - 1;
|
if (idx < 27) return 'A' + idx - 1;
|
||||||
if (idx < 37) return '0' + idx - 27;
|
if (idx < 37) return '0' + idx - 27;
|
||||||
if (idx <= 40) return pgm_read_byte(s_charTab+idx-37);
|
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 ' ';
|
return ' ';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user