Skip to content

Commit c36ce9b

Browse files
committed
Fix spaces
1 parent d26785b commit c36ce9b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

examples/MotionSensorBatteryReport/MotionSensorBatteryReport.ino

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,15 @@ void loop()
8282
Serial.println(tripped);
8383
send(msg.set(tripped?"1":"0")); // Send tripped value to gw
8484

85-
// Request how much of the sleep time is remaining
86-
sleepTimeMs = getSleepRemaining();
85+
// Request how much of the sleep time is remaining
86+
sleepTimeMs = getSleepRemaining();
8787

8888
Serial.print(F("Remaining sleep time [ms] "));
8989
Serial.println(sleepTimeMs);
9090

91-
if (0ul == sleepTimeMs)
92-
{
93-
// Report battery level and restart the cycle
91+
if (0ul == sleepTimeMs)
92+
{
93+
// Report battery level and restart the cycle
9494
const uint8_t batteryPcnt = static_cast<uint8_t>(0.5 + vcc.Read_Perc(VccMin, VccMax));
9595
sendBatteryLevel(batteryPcnt);
9696

@@ -99,8 +99,8 @@ void loop()
9999
Serial.print(F("\tPerc "));
100100
Serial.println(batteryPcnt);
101101

102-
sleepTimeMs = SLEEP_TIME_MS;
103-
}
102+
sleepTimeMs = SLEEP_TIME_MS;
103+
}
104104
}
105105

106106

0 commit comments

Comments
 (0)