Skip to content

Commit 2ebcb1a

Browse files
committed
Using 2 spaces indentation
1 parent d817ee0 commit 2ebcb1a

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/TheThingsNetwork.cpp

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -876,18 +876,18 @@ void TheThingsNetwork::stateMessage(uint8_t type, uint8_t indexMsg, const char *
876876
}
877877

878878
void TheThingsNetwork::sleep(unsigned long msec) {
879-
if (100 < msec && msec < 4294967296) {
880-
while (modemStream->available()) {
881-
modemStream->read();
882-
}
883-
debugPrint(F(SENDING));
884-
sendCommand(SYS_TABLE, SYS_PREFIX, true);
885-
sendCommand(SYS_TABLE, SYS_SLEEP, true);
886-
char buffer[11];
887-
sprintf(buffer, "%ld", msec);
888-
modemStream->write(buffer);
889-
debugPrint(buffer);
890-
modemStream->write(SEND_MSG);
891-
debugPrintLn();
879+
if (100 < msec && msec < 4294967296) {
880+
while (modemStream->available()) {
881+
modemStream->read();
892882
}
883+
debugPrint(F(SENDING));
884+
sendCommand(SYS_TABLE, SYS_PREFIX, true);
885+
sendCommand(SYS_TABLE, SYS_SLEEP, true);
886+
char buffer[11];
887+
sprintf(buffer, "%ld", msec);
888+
modemStream->write(buffer);
889+
debugPrint(buffer);
890+
modemStream->write(SEND_MSG);
891+
debugPrintLn();
892+
}
893893
}

0 commit comments

Comments
 (0)