summaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h
index 5cf2b3c..3bcc09e 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -11,9 +11,12 @@
#define INA260_POWER_REGISTER "registers/power"
#define STATIC_LEN 255
#define MAX_RECORD_LEN 100
-#define MAX_QUEUES 1
#define CSV_HEADER "timestamp,nsecs,power"
+#ifndef MAX_QUEUES
+#define MAX_QUEUES 1
+#endif
+
#ifndef ZMQ_TOKEN
#define ZMQ_TOKEN "ina260-zmq-publisher"
#endif