Skip to content

Commit a34dcb3

Browse files
committed
cleanup things
1 parent dd9f7b3 commit a34dcb3

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

sfeIoTNodeLoRaWAN/sfeIoTNodeLoRaWAN.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -745,6 +745,7 @@ bool sfeIoTNodeLoRaWAN::loop()
745745
if (chIn == '!')
746746
{
747747
Serial.write('!');
748+
Serial.flush();
748749
sfeNLCommands cmdProcessor;
749750
bool status = cmdProcessor.processCommand(this);
750751
}

sfeIoTNodeLoRaWAN/sfeIoTNodeLoRaWAN.ino

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ sfeIoTNodeLoRaWAN theNodeLoRaWAN;
1919

2020
void setup()
2121
{
22-
// put your setup code here, to run once:
23-
24-
// delay(2000);
25-
// Serial.begin(115200);
2622

2723
// Startup the framework
2824
flux.setApplication(theNodeLoRaWAN);
@@ -31,10 +27,9 @@ void setup()
3127

3228
void loop()
3329
{
34-
35-
// Serial.printf("Loop - testing\n\r");
30+
// Run the framework
3631
if (flux.loop())
3732
sfeLED.flash(sfeLED.Blue);
3833

39-
delay(100);
34+
delay(10);
4035
}

0 commit comments

Comments
 (0)