Skip to content

Commit

Permalink
Update board version if in inverted mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbig committed Jun 27, 2016
1 parent 2c81942 commit 521344e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tiveda.ino
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,11 @@ void checkPois(int eventCode, int eventParam) {
*/
void performOTA() {
String url = String(F("http://ota.sneaker.hu/?id=")) + String(ESP.getChipId(), HEX) + String(F("&board=")) + FPSTR(BVERSION);
if (inverted) {
url += "i";
} else {
url += "n";
}

wifiConnecting = false;

Expand Down

0 comments on commit 521344e

Please sign in to comment.