Skip to content

Commit ce33e29

Browse files
Cruz Monrreal IICruz Monrreal II
authored andcommitted
Applied astyle to files missed during repair of astyle Travis CI job
1 parent 1549c5c commit ce33e29

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/wifi/esp8266-driver/ESP8266/ESP8266.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ bool ESP8266::set_country_code_policy(bool track_ap, const char *country_code, i
12321232
}
12331233

12341234
done &= _parser.send("AT+CWCOUNTRY_CUR=%d,\"%s\",%d,%d", t_ap, country_code, channel_start, channels)
1235-
&& _parser.recv("OK\n");
1235+
&& _parser.recv("OK\n");
12361236

12371237
if (!done) {
12381238
tr_error("\"AT+CWCOUNTRY_CUR=%d,\"%s\",%d,%d\" - FAIL", t_ap, country_code, channel_start, channels);

components/wifi/esp8266-driver/ESP8266Interface.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ nsapi_error_t ESP8266Interface::set_country_code(bool track_ap, const char *coun
893893

894894
// Firmware takes only first three characters
895895
strncpy(_ch_info.country_code, country_code, sizeof(_ch_info.country_code));
896-
_ch_info.country_code[sizeof(_ch_info.country_code)-1] = '\0';
896+
_ch_info.country_code[sizeof(_ch_info.country_code) - 1] = '\0';
897897

898898
_ch_info.channel_start = channel_start;
899899
_ch_info.channels = channels;

0 commit comments

Comments
 (0)