fix previous commit
This commit is contained in:
@@ -210,7 +210,7 @@ CFontz633_init (Driver *drvthis, char *args)
|
||||
tcgetattr (fd, &portset);
|
||||
|
||||
/* We use RAW mode */
|
||||
if ( usb ) {
|
||||
if (usb) {
|
||||
// The USB way
|
||||
portset.c_iflag &= ~( IGNBRK | BRKINT | PARMRK | ISTRIP
|
||||
| INLCR | IGNCR | ICRNL | IXON );
|
||||
@@ -260,14 +260,14 @@ CFontz633_init (Driver *drvthis, char *args)
|
||||
|
||||
/* Set display-specific stuff.. */
|
||||
if (reboot) {
|
||||
CFontz633_reboot ();
|
||||
CFontz633_reboot (drvthis);
|
||||
reboot = 0;
|
||||
}
|
||||
sleep (2);
|
||||
CFontz633_hidecursor ();
|
||||
CFontz633_hidecursor (drvthis);
|
||||
|
||||
CFontz633_set_contrast (drvthis, contrast);
|
||||
CFontz633_no_live_report ();
|
||||
CFontz633_no_live_report (drvthis);
|
||||
CFontz633_hardware_clear (drvthis);
|
||||
|
||||
report (RPT_DEBUG, "CFontz633_init: done\n");
|
||||
|
||||
Reference in New Issue
Block a user