Skip to content

Commit d97c81b

Browse files
committed
Update docs to include new 'dhcp' constructor parameter
1 parent baa9c02 commit d97c81b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

shared-bindings/wiznet/wiznet5k.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,14 @@
5151
//| :class:`WIZNET5K` -- wrapper for Wiznet 5500 Ethernet interface
5252
//| ===============================================================
5353
//|
54-
//| .. class:: WIZNET5K(spi, cs, rst)
54+
//| .. class:: WIZNET5K(spi, cs, rst, dhcp=True)
5555
//|
5656
//| Create a new WIZNET5500 interface using the specified pins
5757
//|
58-
//| :param spi: spi bus to use
59-
//| :param cs: pin to use for Chip Select
60-
//| :param rst: pin to use for Reset
58+
//| :param ~busio.SPI spi: spi bus to use
59+
//| :param ~microcontroller.Pin cs: pin to use for Chip Select
60+
//| :param ~microcontroller.Pin rst: pin to use for Reset
61+
//| :param bool dhcp: boolean flag, whether to start DHCP automatically (default True)
6162
//|
6263

6364
STATIC mp_obj_t wiznet5k_make_new(const mp_obj_type_t *type, size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {

0 commit comments

Comments
 (0)