KBrat-SSD645-HW-8_1_SLCD

Fork of SLCD by Erik -

Revision:
10:ef2b3b7f1b01
Parent:
7:0e084b33d730
Child:
11:586119128a67
--- 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;