]> git.itanic.dy.fi Git - log-plotter/blobdiff - data.h
data.c: Store cell count and system status into variable array
[log-plotter] / data.h
diff --git a/data.h b/data.h
index b9c04c96dd52eddd992e94c1c13c5139825a027f..0906e4cae24a3f40460837c9f4d5d869968bb877 100644 (file)
--- a/data.h
+++ b/data.h
@@ -12,6 +12,7 @@ struct charger_data {
        double input_voltage;
        double charging_voltage;
        double charging_current;
+       int cell_count;
        double cell_voltage[MAX_CELLS];
 
        double total_charge;    /* mAh */