Skip to content

Commit 50a5fe0

Browse files
Thomas Kissdpgeorge
authored andcommitted
docs/library/network.WLAN: Fix typo for ESP32 protocol constants.
Signed-off-by: Thomas Kiss <[email protected]>
1 parent 8b8cd82 commit 50a5fe0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/library/network.WLAN.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Methods
145145
reconnects Number of reconnect attempts to make (integer, 0=none, -1=unlimited)
146146
txpower Maximum transmit power in dBm (integer or float)
147147
pm WiFi Power Management setting (see below for allowed values)
148-
protocol (ESP32 Only.) WiFi Low level 802.11 protocol. See `WLAN.PROTOCOL_DEFAULTS`.
148+
protocol (ESP32 Only.) WiFi Low level 802.11 protocol. See `WLAN.PROTOCOL_DEFAULT`.
149149
============= ===========
150150

151151
Constants
@@ -170,7 +170,7 @@ ESP32 Protocol Constants
170170
The following ESP32-only constants relate to the ``WLAN.config(protocol=...)``
171171
network interface parameter:
172172

173-
.. data:: WLAN.PROTOCOL_DEFAULTS
173+
.. data:: WLAN.PROTOCOL_DEFAULT
174174

175175
A bitmap representing all of the default 802.11 Wi-Fi modes supported by
176176
the chip. Consult `ESP-IDF Wi-Fi Protocols`_ documentation for details.
@@ -184,7 +184,7 @@ network interface parameter:
184184
<espnow-long-range>`.
185185

186186
This mode can be bitwise ORed with some standard 802.11 protocol bits
187-
(including `WLAN.PROTOCOL_DEFAULTS`) in order to support a mix of standard
187+
(including `WLAN.PROTOCOL_DEFAULT`) in order to support a mix of standard
188188
Wi-Fi modes as well as LR mode, consult the `Espressif long-range
189189
documentation`_ for more details.
190190

0 commit comments

Comments
 (0)