Skip to content

Commit 0a167cf

Browse files
committed
rp2: Fix USB sleep on 2350.
Signed-off-by: Peter Harper <[email protected]>
1 parent e312fab commit 0a167cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/rp2/modmachine.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ static void mp_machine_lightsleep(size_t n_args, const mp_obj_t *args) {
228228
#if PICO_RP2040
229229
clocks_hw->sleep_en1 |= CLOCKS_SLEEP_EN1_CLK_USB_USBCTRL_BITS;
230230
#elif PICO_RP2350
231-
clocks_hw->sleep_en1 |= CLOCKS_SLEEP_EN1_CLK_SYS_USBCTRL_BITS;
231+
clocks_hw->sleep_en1 |= CLOCKS_SLEEP_EN1_CLK_USB_BITS;
232232
#else
233233
#error Unknown processor
234234
#endif

0 commit comments

Comments
 (0)