From b6f290a123995802b83347610af12b4b0727a590 Mon Sep 17 00:00:00 2001 From: geo101 Date: Wed, 14 Sep 2016 07:41:35 -0500 Subject: [PATCH] Changed hard-coded value to constant defined in user_interface.h --- basic_example/user/user_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basic_example/user/user_main.c b/basic_example/user/user_main.c index 45e9132..3bee767 100644 --- a/basic_example/user/user_main.c +++ b/basic_example/user/user_main.c @@ -28,7 +28,7 @@ user_init() struct station_config stationConf; //Set station mode - wifi_set_opmode( 0x1 ); + wifi_set_opmode( STATION_MODE ); //Set ap settings os_memcpy(&stationConf.ssid, ssid, 32);