mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-13 03:34:35 +00:00
GPIO: Fix for incorrect pin-funciton bit mask.
Caused device to not boot. Oops.
This commit is contained in:
parent
e763592adb
commit
177d49b769
@ -42,7 +42,7 @@ struct PinConfig {
|
||||
| ((fast & 1) << 5)
|
||||
| (((~pu) & 1) << 4)
|
||||
| ((pd & 1) << 3)
|
||||
| ((mode & 1) << 0);
|
||||
| ((mode & 7) << 0);
|
||||
}
|
||||
/*
|
||||
constexpr operator uint32_t() {
|
||||
|
Loading…
Reference in New Issue
Block a user