summaryrefslogtreecommitdiff
path: root/src/publisher.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/publisher.c')
-rw-r--r--src/publisher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/publisher.c b/src/publisher.c
index 607c4d7..ce6df70 100644
--- a/src/publisher.c
+++ b/src/publisher.c
@@ -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);