mirror of
https://gitlab.com/manzerbredes/ina260-zmq-publisher.git
synced 2025-04-05 11:26:25 +02:00
Update ina260 driver configutation
This commit is contained in:
parent
ce5597547c
commit
e0eca2e664
2 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ int main(int argc, char *argv[]) {
|
|||
strcat(regpower, "/");
|
||||
strcat(regpower, client);
|
||||
strcat(regpower, "/");
|
||||
strcat(regpower, INA260_POWER_REGISTER);
|
||||
strcat(regpower, INA260_POWER_OUTPUT);
|
||||
|
||||
//----- Sanity checks
|
||||
signal(SIGINT, sighandler);
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
#define MIN_INTERVAL 0
|
||||
#define INA260_SYSFS "/sys/kernel/ina260"
|
||||
#define INA260_POWER_REGISTER "registers/power"
|
||||
#define INA260_POWER_OUTPUT "power"
|
||||
#define STATIC_LEN 255
|
||||
#define MAX_RECORD_LEN 100
|
||||
#define CSV_HEADER "timestamp,nsecs,power"
|
||||
|
|
Loading…
Add table
Reference in a new issue