From cf69e413a56d1d8c119dc36b975ff7fe80bc4d42 Mon Sep 17 00:00:00 2001 From: Scotty Franzyshen Date: Fri, 18 Nov 2022 07:45:58 -0800 Subject: [PATCH] Update flash_stream.c fixes https://github.com/raspberrypi/pico-playground/issues/32 --- scanvideo/flash_stream/flash_stream.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scanvideo/flash_stream/flash_stream.c b/scanvideo/flash_stream/flash_stream.c index 7d09949..b18f4ce 100644 --- a/scanvideo/flash_stream/flash_stream.c +++ b/scanvideo/flash_stream/flash_stream.c @@ -133,9 +133,13 @@ void __time_critical_func(render_scanline)(struct scanvideo_scanline_buffer *des } int main(void) { +#ifdef TURBO_BOOST + set_sys_clock_khz(300000, true); +#else set_sys_clock_khz(200000, true); +#endif setup_default_uart(); - + #ifdef PICO_SMPS_MODE_PIN gpio_init(PICO_SMPS_MODE_PIN); gpio_set_dir(PICO_SMPS_MODE_PIN, GPIO_OUT);