mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04: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