display fine tuning
This commit is contained in:
parent
af9d2150bf
commit
8fba63a53f
@ -10,15 +10,16 @@ Display-Mask (128 x 64 pixel):
|
||||
0|PAX:aabbccddee
|
||||
1|PAX:aabbccddee
|
||||
2|B:a.bcV Sats:ab
|
||||
3|BLTH:abcde SF:ab
|
||||
3|BLTH:abcde SFab
|
||||
4|WIFI:abcde ch:ab
|
||||
5|RLIM:abcd abcdKB
|
||||
6|20:27:00* 27.Feb
|
||||
7|yyyyyyyyyyyyyyab
|
||||
|
||||
line 6: * = time source indicator: L|G|R|?,
|
||||
line 6: * = char {L|G|R|?} indicates time source,
|
||||
inverse = clock controller is active,
|
||||
pulsed = pps input signal is active
|
||||
|
||||
line 7: y = LMIC event message; ab = payload queue length
|
||||
|
||||
*/
|
||||
@ -206,7 +207,7 @@ void draw_page(time_t t, uint8_t page) {
|
||||
u8x8.setCursor(11, 3);
|
||||
if (!cfg.adrmode) // if ADR=off then display SF value inverse
|
||||
u8x8.setInverseFont(1);
|
||||
u8x8.printf("%5s", getSfName(updr2rps(LMIC.datarate)));
|
||||
u8x8.printf("%4s", getSfName(updr2rps(LMIC.datarate)));
|
||||
if (!cfg.adrmode) // switch off inverse if it was turned on
|
||||
u8x8.setInverseFont(0);
|
||||
#endif // HAS_LORA
|
||||
|
@ -646,12 +646,12 @@ uint8_t getBattLevel() {
|
||||
|
||||
const char *getSfName(rps_t rps) {
|
||||
const char *const t[] = {"FSK", "SF7", "SF8", "SF9",
|
||||
"SF10", "SF11", "SF12", "SFrfu"};
|
||||
"SF10", "SF11", "SF12", "SF?"};
|
||||
return t[getSf(rps)];
|
||||
}
|
||||
|
||||
const char *getBwName(rps_t rps) {
|
||||
const char *const t[] = {"BW125", "BW250", "BW500", "BWrfu"};
|
||||
const char *const t[] = {"BW125", "BW250", "BW500", "BW?"};
|
||||
return t[getBw(rps)];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user