This repository has been archived by the owner on Jul 31, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: common: make net_connect() a noop with NET_CONFIG_NEED_IPV4
In case of CONFIG_NET_CONFIG_NEED_IPV4=y Zephyr networking subsystem initialization code already takes care about configuring IP layer and making sure there is assigned IPv4 address before reaching 'main()' function. Make net_connect() a noop in that case, as no more networking setup is needed. Signed-off-by: Marcin Niestroj <[email protected]>
- Loading branch information