Skip to content

Commit 98bead4

Browse files
committed
Revert "reversed mac address"
This reverts commit 68a66f2.
1 parent 4532c4b commit 98bead4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/WiFiS3/src/WiFi.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ static bool macStr2macArray(uint8_t *mac_out, const char *mac_in) {
224224
return false;
225225
}
226226

227-
for(int i = 5; i >= 0; i--) {
227+
for(int i = 0; i < 6; i++) {
228228
std::string str_num(mac_in+(i*3),2);
229229
*(mac_out+i) = std::stoul(str_num,nullptr,16);
230230
}

0 commit comments

Comments
 (0)