Skip to content

Commit

Permalink
Merge pull request #128 from adafruit/fix-registration-issue
Browse files Browse the repository at this point in the history
Fix "ERROR: Please define a network interface!" on WipperSnapper Registration
  • Loading branch information
brentru authored Aug 23, 2021
2 parents 1f4d0cb + 4aea2b2 commit 5592de4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Wippersnapper_Registration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ void Wippersnapper_Registration::encodeRegMsg() {
/************************************************************/
void Wippersnapper_Registration::publishRegMsg() {
// Run the network fsm
WS.runNetFSM();
// WS.runNetFSM();
// Publish
WS.publish(WS._topic_description, _message_buffer, _message_len, 1);
WS_DEBUG_PRINTLN("Published!")
Expand All @@ -156,7 +156,7 @@ void Wippersnapper_Registration::publishRegMsg() {
bool Wippersnapper_Registration::pollRegMsg() {
bool is_success = false;
// Check network
WS.runNetFSM();
// WS.runNetFSM();

// poll for response from broker
WS.feedWDT(); // let us drop out if we can't process
Expand Down

0 comments on commit 5592de4

Please sign in to comment.