Skip to content

Commit

Permalink
WiFiS3 - work with different variant
Browse files Browse the repository at this point in the history
  • Loading branch information
KurtE committed Jan 8, 2024
1 parent 9968497 commit b3db1e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ unor4wifiusb.upload.tool.default=dfu-util
unor4wifiusb.upload.protocol=
unor4wifiusb.upload.transport=
unor4wifiusb.upload.vid=0x2341
unor4wifiusb.upload.pid=0x369
unor4wifiusb.upload.pid=0x0369
unor4wifiusb.upload.address=0x00010000
unor4wifiusb.upload.interface=0
unor4wifiusb.upload.use_1200bps_touch=false
Expand Down
2 changes: 1 addition & 1 deletion libraries/WiFiS3/src/Modem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ bool ModemClass::buf_read(const string &prompt, string &data_res) {
return res;
}

#ifdef ARDUINO_UNOWIFIR4
#if defined(ARDUINO_UNOWIFIR4) || defined(ARDUINO_UNOWIFIR4USB)
ModemClass modem = ModemClass(&Serial2);
#else
ModemClass modem = ModemClass(D24,D25);
Expand Down

0 comments on commit b3db1e6

Please sign in to comment.