Fixed compile errors on FreeBSD related to cfmakeraw and friends on the
serial port side. Also fixed problems with ioperm on the parallel port side. Added --waittime option to the server to specify how long the server should leave a screen up before changing to the next screen.
This commit is contained in:
+5
-2
@@ -12,6 +12,9 @@
|
||||
#include "screenlist.h"
|
||||
#include "screen.h"
|
||||
|
||||
int default_priority = 128 ;
|
||||
int default_duration = 64 ; // About 8 seconds
|
||||
|
||||
screen *
|
||||
screen_create ()
|
||||
{
|
||||
@@ -25,8 +28,8 @@ screen_create ()
|
||||
|
||||
s->id = NULL;
|
||||
s->name = NULL;
|
||||
s->priority = 128; // Default priority
|
||||
s->duration = 32; // Default duration (~ 8 seconds)
|
||||
s->priority = default_priority ;
|
||||
s->duration = default_duration ;
|
||||
s->heartbeat = 1;
|
||||
s->wid = lcd.wid;
|
||||
s->hgt = lcd.hgt;
|
||||
|
||||
Reference in New Issue
Block a user