Refactored class members

This commit is contained in:
Magnus Persson
2022-01-18 23:33:34 +01:00
parent ddb34e129d
commit 37a1ca6058
20 changed files with 386 additions and 386 deletions

View File

@ -33,7 +33,7 @@ SOFTWARE.
// Classes
class PushTarget {
private:
uint32_t ms; // Used to check that we do not post to often
uint32_t _ms; // Used to check that we do not post to often
void sendBrewfather(float angle, float gravity, float corrGravity,
float tempC);
@ -48,7 +48,7 @@ class PushTarget {
float runTime);
public:
PushTarget() { ms = millis(); }
PushTarget() { _ms = millis(); }
void send(float angle, float gravity, float corrGravity, float temp,
float runTime, bool force = false);
};