diff options
| author | CXSforHPU <[email protected]> | 2024-09-14 05:40:40 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-09-13 17:40:40 -0400 |
| commit | bb91502465da8432b5b38a0eb12be3af8238c22d (patch) | |
| tree | 2e1d686e6d407768fc99f52216bc6e61fb25e9fe /documentation/device | |
| parent | 57d002b25e26a5df950b087f0ea2dc7b6feeb7e3 (diff) | |
[drivers] Specifies the name of the drivers driver file
https://github.com/RT-Thread/rt-thread/pull/9420
Diffstat (limited to 'documentation/device')
| -rw-r--r-- | documentation/device/wlan/wlan.md | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/documentation/device/wlan/wlan.md b/documentation/device/wlan/wlan.md index cf45cca402..cbde241ea4 100644 --- a/documentation/device/wlan/wlan.md +++ b/documentation/device/wlan/wlan.md @@ -208,9 +208,9 @@ The following code will show a WiFi sync scan, and then print the results on the #include <rthw.h> #include <rtthread.h> -#include <wlan_mgnt.h> -#include <wlan_prot.h> -#include <wlan_cfg.h> +#include <dev_wlan_mgnt.h> +#include <dev_wlan_prot.h> +#include <dev_wlan_cfg.h> void wifi_scan(void) { @@ -251,9 +251,9 @@ After connecting to WIFI, wait for a while and then execute `rt_wlan_disconnect` #include <rthw.h> #include <rtthread.h> -#include <wlan_mgnt.h> -#include <wlan_prot.h> -#include <wlan_cfg.h> +#include <dev_wlan_mgnt.h> +#include <dev_wlan_prot.h> +#include <dev_wlan_cfg.h> #define WLAN_SSID "SSID-A" #define WLAN_PASSWORD "12345678" @@ -372,9 +372,9 @@ First enable the automatic reconnection function, use the command line to connec #include <rthw.h> #include <rtthread.h> -#include <wlan_mgnt.h> -#include <wlan_prot.h> -#include <wlan_cfg.h> +#include <dev_wlan_mgnt.h> +#include <dev_wlan_prot.h> +#include <dev_wlan_cfg.h> static void wifi_ready_callback(int event, struct rt_wlan_buff *buff, void *parameter) |
