revert ADR display inverse logic
This commit is contained in:
parent
d70df205fd
commit
f8a115ac17
@ -203,10 +203,10 @@ void draw_page(time_t t, uint8_t page) {
|
||||
|
||||
#if (HAS_LORA)
|
||||
u8x8.setCursor(11, 3);
|
||||
if (cfg.adrmode) // if ADR=on then display SF value inverse
|
||||
if (!cfg.adrmode) // if ADR=off then display SF value inverse
|
||||
u8x8.setInverseFont(1);
|
||||
u8x8.printf("%5s", getSfName(updr2rps(LMIC.datarate)));
|
||||
if (cfg.adrmode) // switch off inverse if it was turned on
|
||||
if (!cfg.adrmode) // switch off inverse if it was turned on
|
||||
u8x8.setInverseFont(0);
|
||||
#endif // HAS_LORA
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user