Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nullptr committed Jan 31, 2024
1 parent 5033a65 commit fb0c6ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sscma/interface/wifi.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ class WiFi final : public Supervisable, public StatefulInterface {
bool is_wifi_joined() const { return sync_status_from_driver() >= wifi_sta_e::JOINED; }

in4_info_t get_in4_info() const {
in4_info_t info{0};
in4_info_t info;
_network->get_ip(info); // driver get in4
return info;
}

// TODO: add driver implementation
in6_info_t get_in6_info() const { return {0}; }
in6_info_t get_in6_info() const { return {}; }

protected:
bool bring_up(const std::pair<wifi_sta_e, wifi_sta_cfg_t>& config) {
Expand Down

0 comments on commit fb0c6ed

Please sign in to comment.