]> git.itanic.dy.fi Git - log-plotter/blobdiff - data.h
data.c: Implement initial support for handling multiple data channels
[log-plotter] / data.h
diff --git a/data.h b/data.h
index 6e286faed2c0ec0fd94033f03d88c5083610b493..b9c04c96dd52eddd992e94c1c13c5139825a027f 100644 (file)
--- a/data.h
+++ b/data.h
@@ -6,7 +6,7 @@
 #define MAX_CELLS 10
 
 struct charger_data {
-       int channel;
+       unsigned int channel;
        int state;
        double timestamp;       /* seconds since beginning of the charging */
        double input_voltage;