space cleanup and some preparations for PrivateData

This commit is contained in:
marschap
2005-05-26 18:02:32 +00:00
parent 3658cedc35
commit e01689cc1d
+10 -10
View File
@@ -22,7 +22,7 @@
* Driver status * Driver status
* 04/04/2002: Working driver * 04/04/2002: Working driver
* 05/06/2002: Reading of return value * 05/06/2002: Reading of return value
* 02/09/2002: KeyPad handeling and return string * 02/09/2002: KeyPad handling and return string
* 03/09/2002: New icon incorporated * 03/09/2002: New icon incorporated
* *
* THINGS NOT DONE: * THINGS NOT DONE:
@@ -97,11 +97,11 @@ MODULE_EXPORT char *symbol_prefix = "CFontz633_";
/* Internal functions */ /* Internal functions */
/* static void CFontz633_linewrap (int on); */ /* static void CFontz633_linewrap (int on); */
/* static void CFontz633_autoscroll (int on); */ /* static void CFontz633_autoscroll (int on); */
static void CFontz633_hidecursor (); static void CFontz633_hidecursor (Driver *drvthis);
static void CFontz633_reboot (); static void CFontz633_reboot (Driver *drvthis);
static void CFontz633_init_vbar (Driver *drvthis); static void CFontz633_init_vbar (Driver *drvthis);
static void CFontz633_init_hbar (Driver *drvthis); static void CFontz633_init_hbar (Driver *drvthis);
static void CFontz633_no_live_report (); static void CFontz633_no_live_report (Driver *drvthis);
static void CFontz633_hardware_clear (Driver *drvthis); static void CFontz633_hardware_clear (Driver *drvthis);
@@ -177,7 +177,7 @@ CFontz633_init (Driver * drvthis, char *args)
else if (tmp == 9600) speed = B9600; else if (tmp == 9600) speed = B9600;
else if (tmp == 19200) speed = B19200; else if (tmp == 19200) speed = B19200;
else if (tmp == 115200) speed = B115200; else if (tmp == 115200) speed = B115200;
else { report (RPT_WARNING, "CFontz633_init: Speed must be 1200, 2400, 9600 or 19200. 115200, Using default value.\n", speed); else { report (RPT_WARNING, "CFontz633_init: Speed must be 1200, 2400, 9600, 19200 or 115200. Using default value.\n", speed);
} }
/* New firmware version? /* New firmware version?
@@ -474,7 +474,7 @@ CFontz633_backlight (Driver * drvthis, int on)
* Get rid of the blinking curson * Get rid of the blinking curson
*/ */
static void static void
CFontz633_hidecursor () CFontz633_hidecursor (Driver *drvthis)
{ {
send_onebyte_message(fd, CF633_Set_LCD_Cursor_Style, 0); send_onebyte_message(fd, CF633_Set_LCD_Cursor_Style, 0);
} }
@@ -484,7 +484,7 @@ CFontz633_hidecursor ()
* Stop live reporting of temperature. * Stop live reporting of temperature.
*/ */
static void static void
CFontz633_no_live_report () CFontz633_no_live_report (Driver *drvthis)
{ {
char out[2] = { 0, 0 }; char out[2] = { 0, 0 };
@@ -497,7 +497,7 @@ CFontz633_no_live_report ()
* Stop the reporting of any fan. * Stop the reporting of any fan.
*/ */
static void static void
CFontz633_no_fan_report () CFontz633_no_fan_report (Driver *drvthis)
{ {
send_onebyte_message(fd, CF633_Set_Up_Fan_Reporting, 0); send_onebyte_message(fd, CF633_Set_Up_Fan_Reporting, 0);
} }
@@ -507,7 +507,7 @@ CFontz633_no_fan_report ()
* Stop the reporting of any temperature. * Stop the reporting of any temperature.
*/ */
static void static void
CFontz633_no_temp_report () CFontz633_no_temp_report (Driver *drvthis)
{ {
char out[4] = { 0, 0, 0, 0 }; char out[4] = { 0, 0, 0, 0 };
@@ -519,7 +519,7 @@ CFontz633_no_temp_report ()
* Reset the display bios * Reset the display bios
*/ */
static void static void
CFontz633_reboot () CFontz633_reboot (Driver *drvthis)
{ {
char out[3] = { 8, 18, 99 }; char out[3] = { 8, 18, 99 };