mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-05-29 16:28:39 +00:00
CPLD: Set DECIM1 as input to CPLD.
How did DECIM work before?! Now, decimate is no longer a feature, so this doesn't really matter. But tidying it up anyway.
This commit is contained in:
parent
11a5aa9766
commit
e2fe4b65d9
@ -190,7 +190,7 @@ constexpr uint32_t gpio_outreg(const Direction direction) {
|
|||||||
constexpr uint32_t gpio_oenreg(const Direction direction) {
|
constexpr uint32_t gpio_oenreg(const Direction direction) {
|
||||||
return
|
return
|
||||||
(0U << PIN_DECIM2)
|
(0U << PIN_DECIM2)
|
||||||
| (1U << PIN_DECIM1)
|
| (0U << PIN_DECIM1)
|
||||||
| (0U << PIN_DECIM0)
|
| (0U << PIN_DECIM0)
|
||||||
| (0U << PIN_INVERT)
|
| (0U << PIN_INVERT)
|
||||||
| (1U << PIN_DIRECTION)
|
| (1U << PIN_DIRECTION)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user