mirror of
https://gitlab.com/manzerbredes/ina260-zmq-publisher.git
synced 2025-04-19 12:19:46 +00:00
Minor changes
This commit is contained in:
parent
3da360332b
commit
97e167da1b
2 changed files with 18 additions and 3 deletions
|
@ -63,7 +63,7 @@ int main (int argc, char *argv [])
|
|||
for(int i=0;i<1;i++){
|
||||
interval=INTERVAL(__loginterval);
|
||||
*logfilepath='\0';
|
||||
sprintf(logfilepath,"%s/%ld",__logdir);
|
||||
sprintf(logfilepath,"%s/%ld",__logdir,interval);
|
||||
logptr=fopen(logfilepath,"w");
|
||||
fprintf(logptr,"timestamp,power\n");
|
||||
// Log current interval
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue