Merge pull request #1441 from openmv/nina_ifconfig_fix

Nina-w10: Fix ifconfig args order.
This commit is contained in:
Ibrahim Abd Elkader 2021-08-26 17:28:32 +02:00 committed by GitHub
commit 0ef2852094
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -491,8 +491,8 @@ int nina_ifconfig(nina_ifconfig_t *ifconfig, bool set)
3, ARG_8BITS,
NINA_VALS(
{&ip_len, ifconfig->ip_addr},
{&gw_len, ifconfig->gateway_addr},
{&sub_len, ifconfig->subnet_addr})) != 0) {
{&sub_len, ifconfig->subnet_addr},
{&gw_len, ifconfig->gateway_addr})) != 0) {
return -1;
}
// No command to get DNS ?