GPIO: Fix for incorrect pin-funciton bit mask.

Caused device to not boot. Oops.
This commit is contained in:
Jared Boone 2017-01-06 14:22:27 -08:00
parent e763592adb
commit 177d49b769

View File

@ -42,7 +42,7 @@ struct PinConfig {
| ((fast & 1) << 5) | ((fast & 1) << 5)
| (((~pu) & 1) << 4) | (((~pu) & 1) << 4)
| ((pd & 1) << 3) | ((pd & 1) << 3)
| ((mode & 1) << 0); | ((mode & 7) << 0);
} }
/* /*
constexpr operator uint32_t() { constexpr operator uint32_t() {