pub(crate) fn animation_task(
led_green: Rp2040Led,
led_yellow: Rp2040Led,
) -> Result<SpawnToken<impl Sized>, SpawnError>Expand description
Drive the LEDs based on the current operating state. Spawn once at boot.
Both LEDs are owned by this task for the lifetime of the firmware.