b59f0e17be
Don't idle from main if we scheduled an interrupt for 0 ticks in the future. Have RP2040 detect wakes that happen between setting the timer and the idle call. Fixes #7361