Fixed compiler issues and bump to v0.4

This commit is contained in:
Magnus Persson
2022-01-01 13:53:07 +01:00
parent a6e265dc48
commit e4e8be1d13
7 changed files with 7 additions and 7 deletions

View File

@ -166,7 +166,7 @@ void setup() {
void loop() {
drd->loop();
if( sleepModeActive || abs(millis() - loopMillis) > interval ) {
if( sleepModeActive || abs( (long) (millis() - loopMillis)) > interval ) {
float angle = 0;
float volt = myBatteryVoltage.getVoltage();
//float sensorTemp = 0;