mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-10 16:49:36 +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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user