Skip to content

Commit b6f290a

Browse files
authored
Changed hard-coded value to constant defined in user_interface.h
1 parent 6edbe99 commit b6f290a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

basic_example/user/user_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ user_init()
2828
struct station_config stationConf;
2929

3030
//Set station mode
31-
wifi_set_opmode( 0x1 );
31+
wifi_set_opmode( STATION_MODE );
3232

3333
//Set ap settings
3434
os_memcpy(&stationConf.ssid, ssid, 32);

0 commit comments

Comments
 (0)