mirror of
https://gitlab.com/manzerbredes/ina260-zmq-publisher.git
synced 2025-04-06 03:46:25 +02:00
Minor changes
This commit is contained in:
parent
880ab32516
commit
c5ca719d68
1 changed files with 2 additions and 1 deletions
|
@ -46,7 +46,7 @@ int main (int argc, char *argv [])
|
|||
printf("Log interval is too small (min=%ds)\n",MIN_INTERVAL);
|
||||
exit(2);
|
||||
}
|
||||
if(FILE_EXISTS(__regpower)){
|
||||
if(FILE_EXISTS(__regpower)){ // TODO UPDATE!!
|
||||
printf("Logger cannot access to %s\n",__regpower);
|
||||
exit(3);
|
||||
}
|
||||
|
@ -61,6 +61,7 @@ int main (int argc, char *argv [])
|
|||
int power;
|
||||
time_t interval;
|
||||
struct timespec power_ts;
|
||||
|
||||
while(1){
|
||||
interval=INTERVAL(__loginterval);
|
||||
*logfilepath='\0';
|
||||
|
|
Loading…
Add table
Reference in a new issue