v1
Dependents: ACC_LCD_541_Goniometer_Dorian_Folie
Fork of SLCD by
Diff: SLCD.cpp
- Revision:
- 10:ef2b3b7f1b01
- Parent:
- 7:0e084b33d730
- Child:
- 11:ee727b8319f4
--- a/SLCD.cpp Sun Mar 23 19:10:10 2014 +0000 +++ b/SLCD.cpp Sun Mar 23 19:55:14 2014 +0000 @@ -195,7 +195,7 @@ CharPosition++; } -void SLCD::Home (void) +void SLCD::Home() { CharPosition = 0; } @@ -267,11 +267,11 @@ DP(2, mode==1); } -void SLCD::Colon (int mode) +void SLCD::Colon (bool on) { uint8_t *lbpLCDWF; lbpLCDWF = (uint8_t *)&LCD->WF8B[0]; - if (mode==1) { + if (on) { lbpLCDWF[(uint8_t)WF_ORDERING_TABLE[7]]|=1; } else { lbpLCDWF[(uint8_t)WF_ORDERING_TABLE[7]]&=~1;