daemonize bug fixed
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ load_driver ( char * name, char * filename, char * args )
|
|||||||
LL_Push( loaded_drivers, driver );
|
LL_Push( loaded_drivers, driver );
|
||||||
|
|
||||||
// Check the driver type
|
// Check the driver type
|
||||||
if( driver->daemonize ) {
|
if( !driver->daemonize ) {
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -270,6 +270,7 @@ lcdm001_init (struct lcd_logical_driver *driver, char *args)
|
|||||||
/*
|
/*
|
||||||
* Configure the display functions
|
* Configure the display functions
|
||||||
*/
|
*/
|
||||||
|
driver->daemonize = 1; // daemonize.
|
||||||
|
|
||||||
driver->clear = lcdm001_clear;
|
driver->clear = lcdm001_clear;
|
||||||
driver->string = lcdm001_string;
|
driver->string = lcdm001_string;
|
||||||
|
|||||||
Reference in New Issue
Block a user