Closed hdoordt closed 1 year ago
Uarte::free method uses bit_is_set to determine whether a pin was connected to cts and rts. However, a set bit represents a disconnected pin. Use is_connected() instead to do the inversion.
Uarte::free
bit_is_set
cts
rts
is_connected()
Thanks!
bors r+
Build succeeded:
Uarte::free
method usesbit_is_set
to determine whether a pin was connected tocts
andrts
. However, a set bit represents a disconnected pin. Useis_connected()
instead to do the inversion.