Skip to content

Commit cf69e41

Browse files
authored
Update flash_stream.c
fixes raspberrypi#32
1 parent eb6658e commit cf69e41

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scanvideo/flash_stream/flash_stream.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,13 @@ void __time_critical_func(render_scanline)(struct scanvideo_scanline_buffer *des
133133
}
134134

135135
int main(void) {
136+
#ifdef TURBO_BOOST
137+
set_sys_clock_khz(300000, true);
138+
#else
136139
set_sys_clock_khz(200000, true);
140+
#endif
137141
setup_default_uart();
138-
142+
139143
#ifdef PICO_SMPS_MODE_PIN
140144
gpio_init(PICO_SMPS_MODE_PIN);
141145
gpio_set_dir(PICO_SMPS_MODE_PIN, GPIO_OUT);

0 commit comments

Comments
 (0)