summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/rp2/modmachine.c2
-rw-r--r--tests/ports/rp2/rp2_lightsleep.py6
2 files changed, 1 insertions, 7 deletions
diff --git a/ports/rp2/modmachine.c b/ports/rp2/modmachine.c
index cd73552dd..3229aed27 100644
--- a/ports/rp2/modmachine.c
+++ b/ports/rp2/modmachine.c
@@ -228,7 +228,7 @@ static void mp_machine_lightsleep(size_t n_args, const mp_obj_t *args) {
#if PICO_RP2040
clocks_hw->sleep_en1 |= CLOCKS_SLEEP_EN1_CLK_USB_USBCTRL_BITS;
#elif PICO_RP2350
- clocks_hw->sleep_en1 |= CLOCKS_SLEEP_EN1_CLK_SYS_USBCTRL_BITS;
+ clocks_hw->sleep_en1 |= CLOCKS_SLEEP_EN1_CLK_USB_BITS;
#else
#error Unknown processor
#endif
diff --git a/tests/ports/rp2/rp2_lightsleep.py b/tests/ports/rp2/rp2_lightsleep.py
index 5ce5696e0..63f31940a 100644
--- a/tests/ports/rp2/rp2_lightsleep.py
+++ b/tests/ports/rp2/rp2_lightsleep.py
@@ -16,12 +16,6 @@ try:
except ImportError:
print("SKIP")
raise SystemExit
-
-# RP2350 currently fails this test, needs further investigation.
-if "RP2350" in sys.implementation._machine:
- print("SKIP")
- raise SystemExit
-
try:
led = Pin(Pin.board.LED, Pin.OUT)
except AttributeError: