Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and mkardous-silabs committed Dec 11, 2024
1 parent 6ffedd9 commit 57f4b75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/platform/silabs/wifi/SiWx/WifiInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ void wfx_dhcp_got_ipv4(uint32_t ip)
/*
* Acquire the new IP address
*/
wfx_rsi.ip4_addr[0] = (ip) & 0xFF;
wfx_rsi.ip4_addr[0] = (ip) &0xFF;
wfx_rsi.ip4_addr[1] = (ip >> 8) & 0xFF;
wfx_rsi.ip4_addr[2] = (ip >> 16) & 0xFF;
wfx_rsi.ip4_addr[3] = (ip >> 24) & 0xFF;
Expand Down
2 changes: 1 addition & 1 deletion src/platform/silabs/wifi/wf200/WifiInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,7 @@ void wfx_dhcp_got_ipv4(uint32_t ip)
*/
uint8_t ip4_addr[4];

ip4_addr[0] = (ip) & 0xFF;
ip4_addr[0] = (ip) &0xFF;
ip4_addr[1] = (ip >> 8) & 0xFF;
ip4_addr[2] = (ip >> 16) & 0xFF;
ip4_addr[3] = (ip >> 24) & 0xFF;
Expand Down

0 comments on commit 57f4b75

Please sign in to comment.