Skip to content

Commit

Permalink
Fix the Kconfig
Browse files Browse the repository at this point in the history
This should use sample's Kconfig, not the library Kconfig.

Signed-off-by: Chaitanya Tata <[email protected]>
  • Loading branch information
krish2718 committed Dec 13, 2024
1 parent 3b7c749 commit 3b3a1a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/scan_bm/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ int main(void)

printf("WiFi scan sample application using nRF70 Bare Metal library\n");

memcpy(reg_info.country_code, CONFIG_NRF70_REG_DOMAIN, 2);
memcpy(reg_info.country_code, CONFIG_WIFI_SCAN_REG_DOMAIN, 2);
reg_info.force = true;

// Initialize the WiFi module
Expand Down

0 comments on commit 3b3a1a0

Please sign in to comment.