summaryrefslogtreecommitdiff
path: root/battery.h
diff options
context:
space:
mode:
authorJoshua Drake <joshua.ellis.drake@gmail.com>2022-11-19 04:04:00 -0600
committerJoshua Drake <joshua.ellis.drake@gmail.com>2022-11-19 04:04:00 -0600
commit1321168cb22a76df96d747194fcb91863e4e0659 (patch)
tree772cc08ae6c85bd1a8b527509c3dd88bcc5600dc /battery.h
parent1ed60cd00cd9fdcc45dab1f81e00dd723858a430 (diff)
Added Wire Class. Program now has some functionality!
Diffstat (limited to 'battery.h')
-rw-r--r--battery.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/battery.h b/battery.h
index 887fb0e..6c0ed44 100644
--- a/battery.h
+++ b/battery.h
@@ -38,6 +38,8 @@ public:
void setSystemVoltage(double voltage);
void setPeakSystemPower(double power);
void changeBatteryChemistry(int name);
+public slots:
+ void calculate(void);
private:
batteryData_t activeBattery;
@@ -49,8 +51,6 @@ private:
float packChargeRate;
float packWeight;
float packEnergy;
-
- void calculate(void);
signals:
};