alpha pre-release

This commit is contained in:
Edward Emelianov
2026-10-27 21:25:07 +03:00
parent bd1b8babe9
commit 4557165678
11 changed files with 149 additions and 17 deletions

View File

@@ -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;