We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbb44b6 commit 761681eCopy full SHA for 761681e
libraries/WiFiS3/src/WiFi.cpp
@@ -19,6 +19,7 @@ static char fw_version[12];
19
const char* CWifi::firmwareVersion() {
20
/* -------------------------------------------------------------------------- */
21
string res = "";
22
+ modem.begin();
23
if(modem.write(string(PROMPT(_FWVERSION)), res, CMD_READ(_FWVERSION))) {
24
memset(fw_version,0x00,12);
25
memcpy(fw_version, res.c_str(), res.size() < 12 ? res.size() : 11);
0 commit comments