FreeCalypso > hg > freecalypso-tools
diff rvinterf/lowlevel/rviflcd.c @ 394:a626f0ef542a
rvinterf: -v option removed, -X LCD output is always inverted
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 15 Mar 2018 00:41:24 +0000 |
parents | e7502631a0f9 |
children |
line wrap: on
line diff
--- a/rvinterf/lowlevel/rviflcd.c Thu Mar 15 00:36:07 2018 +0000 +++ b/rvinterf/lowlevel/rviflcd.c Thu Mar 15 00:41:24 2018 +0000 @@ -14,7 +14,6 @@ char *extlcd_program; FILE *extlcd_pout; -u_char extlcd_invert; void open_extlcd_pipe() @@ -33,8 +32,8 @@ fprintf(extlcd_pout, "%u %u ", rxpkt[1], rxpkt[2]); for (i = 3; i < rxpkt_len; i += 2) - fprintf(extlcd_pout, "%02X%02X", rxpkt[i+1] ^ extlcd_invert, - rxpkt[i] ^ extlcd_invert); + fprintf(extlcd_pout, "%02X%02X", rxpkt[i+1] ^ 0xFF, + rxpkt[i] ^ 0xFF); fputc('\n', extlcd_pout); fflush(extlcd_pout); }