mirror of
https://github.com/eddyem/eddys_snippets.git
synced 2026-11-24 14:50:22 +03:00
alpha pre-release
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#pragma once
|
||||
|
||||
#define DEFAULT_PIDFILE "/tmp/powerdaemon.pid"
|
||||
#define DEFAULT_SOCKPATH "@poweroffdaemon"
|
||||
#define DEFAULT_DEV "/dev/ttyUSB0"
|
||||
#define DEFAULT_BAUDRATE 115200
|
||||
#define DEFAULT_INTERVAL 1.0
|
||||
@@ -28,6 +29,7 @@ typedef struct{
|
||||
char *pidfile;
|
||||
char *logfile;
|
||||
char *serialdev;
|
||||
char *sockpath;
|
||||
double poll_interval;
|
||||
double timeout_us;
|
||||
int verbose;
|
||||
|
||||
Reference in New Issue
Block a user