mirror of
https://github.com/micropython/micropython.git
synced 2025-12-15 17:30:14 +01:00
Changes are: - Refactor the open-drain macros, add GPIO_ENABLE/DISABLE_OPEN_DRAIN, and move them to `mphalport.h`. - Only use `uint64_t` for the open-drain mask if there are more than 32 GPIOs (saves code size). - Ensure we're shifting a `uint64_t` by using 1ULL constants. Signed-off-by: Phil Howard <github@gadgetoid.com>
7.3 KiB
7.3 KiB