Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drv/ioport_lpf2: fix incorrect detection on Technic hub
It seems that the bootloader on the Technic hub must change the GPIO pull from the default, so we need to explicitly set it during init. Otherwise, ID2 is pulled low and devices are incorrectly detected. Fixes: pybricks/support#230
- Loading branch information