File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -291,13 +291,13 @@ bool ESP8266Interface::_get_firmware_ok()
291
291
if (at_v.major < ESP8266_AT_VERSION_MAJOR) {
292
292
debug (" ESP8266: ERROR: AT Firmware v%d incompatible with this driver." , at_v.major );
293
293
debug (" Update at least to v%d - https://developer.mbed.org/teams/ESP8266/wiki/Firmware-Update\n " , ESP8266_AT_VERSION_MAJOR);
294
- return false ;
294
+ MBED_ERROR ( MBED_MAKE_ERROR (MBED_MODULE_DRIVER, MBED_ERROR_UNSUPPORTED), " Too old AT firmware " ) ;
295
295
}
296
296
ESP8266::fw_sdk_version sdk_v = _esp.sdk_version ();
297
297
if (sdk_v.major < ESP8266_SDK_VERSION_MAJOR) {
298
298
debug (" ESP8266: ERROR: Firmware v%d incompatible with this driver." , sdk_v.major );
299
299
debug (" Update at least to v%d - https://developer.mbed.org/teams/ESP8266/wiki/Firmware-Update\n " , ESP8266_SDK_VERSION_MAJOR);
300
- return false ;
300
+ MBED_ERROR ( MBED_MAKE_ERROR (MBED_MODULE_DRIVER, MBED_ERROR_UNSUPPORTED), " Too old SDK firmware " ) ;
301
301
}
302
302
303
303
return true ;
You can’t perform that action at this time.
0 commit comments