Skip to content

Commit

Permalink
use prod
Browse files Browse the repository at this point in the history
  • Loading branch information
brentru committed Sep 1, 2021
1 parent 27a5077 commit 52a7915
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Wippersnapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,10 +387,10 @@ bool cbSignalMsg(pb_istream_t *stream, const pb_field_t *field, void **arg) {
is_success = false;
WS.pinCfgCompleted = false;
}
// configured!
// If this is the initial configuration
if (!WS.pinCfgCompleted) {
WS_DEBUG_PRINTLN("Initial Pin Configuration Complete!");
WS.pinCfgCompleted = true;
WS_DEBUG_PRINTLN("Initial Pin Configuration Completed!");
}
} else if (field->tag ==
wippersnapper_signal_v1_CreateSignalRequest_pin_events_tag) {
Expand Down
8 changes: 4 additions & 4 deletions src/Wippersnapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@
#endif

// Uncomment the following use the staging IO server //
#define USE_STAGING
#define IO_MQTT_SERVER "io.adafruit.us" ///< Adafruit IO MQTT Server
//#define USE_STAGING
//#define IO_MQTT_SERVER "io.adafruit.us" ///< Adafruit IO MQTT Server

//#define IO_MQTT_SERVER \
// "io.adafruit.com" ///< Adafruit IO MQTT Server (Production)
#define IO_MQTT_SERVER \
"io.adafruit.com" ///< Adafruit IO MQTT Server (Production)

#ifdef USE_TINYUSB
#include "provisioning/tinyusb/Wippersnapper_FS.h"
Expand Down

0 comments on commit 52a7915

Please sign in to comment.