mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-20 05:32: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue