parent
8c16093963
commit
d4b1d4d430
@ -50,6 +50,12 @@ digitalinout_result_t common_hal_digitalio_digitalinout_construct(
|
|||||||
self->output = false;
|
self->output = false;
|
||||||
self->open_drain = false;
|
self->open_drain = false;
|
||||||
|
|
||||||
|
#if CIRCUITPY_CYW43
|
||||||
|
if (IS_CYW(self)) {
|
||||||
|
return DIGITALINOUT_OK;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// Set to input. No output value.
|
// Set to input. No output value.
|
||||||
gpio_init(pin->number);
|
gpio_init(pin->number);
|
||||||
return DIGITALINOUT_OK;
|
return DIGITALINOUT_OK;
|
||||||
|
Loading…
Reference in New Issue
Block a user