diff options
| author | robert-hh <robert@hammelrath.com> | 2023-11-03 22:20:06 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-11-05 08:30:18 +1100 |
| commit | ae3b1cfab1387c4d875ec67bdeda885f87e52967 (patch) | |
| tree | ae32dc1780dd4f4f8d0fd7f286bfda1a0d3c3155 | |
| parent | 09c9c8ac3038bba46fa7b57634eff3ed646bacb4 (diff) | |
mimxrt/modmachine: Fix settings for the MIMXRT1170 board.
These were not changed with commit c0b64a3f2 for using tools/boardgen.py.
Signed-off-by: robert-hh <robert@hammelrath.com>
| -rw-r--r-- | ports/mimxrt/modmachine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/mimxrt/modmachine.c b/ports/mimxrt/modmachine.c index aa12f44d4..57090bda2 100644 --- a/ports/mimxrt/modmachine.c +++ b/ports/mimxrt/modmachine.c @@ -121,10 +121,10 @@ STATIC mp_obj_t machine_deepsleep(size_t n_args, const mp_obj_t *args) { } #ifdef MIMXRT117x_SERIES - machine_pin_config(&pin_WAKEUP_DIG, PIN_MODE_IT_RISING, PIN_PULL_DISABLED, PIN_DRIVE_OFF, 0, PIN_AF_MODE_ALT5); + machine_pin_config(pin_WAKEUP_DIG, PIN_MODE_IT_RISING, PIN_PULL_DISABLED, PIN_DRIVE_OFF, 0, PIN_AF_MODE_ALT5); GPC_CM_EnableIrqWakeup(GPC_CPU_MODE_CTRL_0, GPIO13_Combined_0_31_IRQn, true); #elif defined IOMUXC_SNVS_WAKEUP_GPIO5_IO00 - machine_pin_config(&pin_WAKEUP, PIN_MODE_IT_RISING, PIN_PULL_DISABLED, PIN_DRIVE_OFF, 0, PIN_AF_MODE_ALT5); + machine_pin_config(pin_WAKEUP, PIN_MODE_IT_RISING, PIN_PULL_DISABLED, PIN_DRIVE_OFF, 0, PIN_AF_MODE_ALT5); GPC_EnableIRQ(GPC, GPIO5_Combined_0_15_IRQn); #endif |
