From 64dbe88dda401fb78fc4fa3a053ffee7b99a0e70 Mon Sep 17 00:00:00 2001 From: Thomas Rohloff Date: Fri, 31 Mar 2023 04:28:19 +0200 Subject: [PATCH] Sleep Signed-off-by: Thomas Rohloff --- pico/main.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pico/main.c b/pico/main.c index 1845d93..aeb4011 100644 --- a/pico/main.c +++ b/pico/main.c @@ -161,6 +161,13 @@ void state_handler_set_timer(udpih_device_t* device, uint32_t ms) int main() { + gpio_init(PICO_DEFAULT_LED_PIN); + gpio_set_dir(PICO_DEFAULT_LED_PIN, GPIO_OUT); + gpio_put(PICO_DEFAULT_LED_PIN, 1); + + sleep_ms(8125); + gpio_put(PICO_DEFAULT_LED_PIN, 0); + stdio_init_all(); printf("Wii U UHS exploit\n");