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 @@ -301,13 +301,13 @@ bool ESP8266Interface::_get_firmware_ok()
301
301
if (at_v.major < ESP8266_AT_VERSION_MAJOR) {
302
302
debug (" ESP8266: ERROR: AT Firmware v%d incompatible with this driver." , at_v.major );
303
303
debug (" Update at least to v%d - https://developer.mbed.org/teams/ESP8266/wiki/Firmware-Update\n " , ESP8266_AT_VERSION_MAJOR);
304
- return false ;
304
+ MBED_ERROR ( MBED_MAKE_ERROR (MBED_MODULE_DRIVER, MBED_ERROR_UNSUPPORTED), " Too old AT firmware " ) ;
305
305
}
306
306
ESP8266::fw_sdk_version sdk_v = _esp.sdk_version ();
307
307
if (sdk_v.major < ESP8266_SDK_VERSION_MAJOR) {
308
308
debug (" ESP8266: ERROR: Firmware v%d incompatible with this driver." , sdk_v.major );
309
309
debug (" Update at least to v%d - https://developer.mbed.org/teams/ESP8266/wiki/Firmware-Update\n " , ESP8266_SDK_VERSION_MAJOR);
310
- return false ;
310
+ MBED_ERROR ( MBED_MAKE_ERROR (MBED_MODULE_DRIVER, MBED_ERROR_UNSUPPORTED), " Too old SDK firmware " ) ;
311
311
}
312
312
313
313
return true ;
You can’t perform that action at this time.
0 commit comments