Closed
Description
With the most recent patches, issuing time.sleep(x)
issues a wfi
instruction. This aggressively puts the CPU to sleep. However, this appears to cause USB to no longer enumerate. While this is not an issue with a device that's powered off of USB, if a device has its own battery, then this will prevent the device from enumerating during sleep.
Steps to reproduce
The following code.py
should trigger this bug:
from time import sleep
sleep(60)