mirror of https://github.com/ARMmbed/mbed-os.git
Applied astyle to files missed during repair of astyle Travis CI job
parent
1549c5c425
commit
ce33e29cb2
|
@ -893,7 +893,7 @@ nsapi_error_t ESP8266Interface::set_country_code(bool track_ap, const char *coun
|
|||
|
||||
// Firmware takes only first three characters
|
||||
strncpy(_ch_info.country_code, country_code, sizeof(_ch_info.country_code));
|
||||
_ch_info.country_code[sizeof(_ch_info.country_code)-1] = '\0';
|
||||
_ch_info.country_code[sizeof(_ch_info.country_code) - 1] = '\0';
|
||||
|
||||
_ch_info.channel_start = channel_start;
|
||||
_ch_info.channels = channels;
|
||||
|
|
Loading…
Reference in New Issue