Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions omi/firmware/omi/omi.conf
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ CONFIG_WIFI_READY_LIB=y
# Soft AP
CONFIG_NRF70_AP_MODE=y
CONFIG_WIFI_NM_WPA_SUPPLICANT_AP=y
CONFIG_NRF_WIFI_LOW_POWER=n
CONFIG_NRF70_QSPI_LOW_POWER=n
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let wifi enter low power when it's not used

CONFIG_WIFI_NM_WPA_SUPPLICANT_LOG_LEVEL_INF=y

# Networking
Expand Down Expand Up @@ -181,7 +179,7 @@ CONFIG_BT_DIS_MODEL="Omi CV 1"
CONFIG_BT_DIS_MANUF="Based Hardware"
CONFIG_BT_DIS_FW_REV=y
CONFIG_BT_DIS_HW_REV=y
CONFIG_BT_DIS_FW_REV_STR="3.0.14"
CONFIG_BT_DIS_FW_REV_STR="3.0.15"
CONFIG_BT_DIS_HW_REV_STR="5.0"

#
Expand Down
8 changes: 0 additions & 8 deletions omi/firmware/omi/src/wifi.c
Original file line number Diff line number Diff line change
Expand Up @@ -789,14 +789,6 @@ void start_wifi_thread(void)
is_hardware_available = true;
LOG_INF("Wi-Fi hardware is ready");

// check if Wi-Fi hardware is broken/unavailable
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove dupplicated code

if (!wifi_check_hardware_ready()) {
LOG_ERR("Wi-Fi hardware not ready");
return;
}
is_hardware_available = true;
LOG_INF("Wi-Fi hardware is ready");

while (1) {
switch (current_wifi_state) {
case WIFI_STATE_OFF:
Expand Down