File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -58,24 +58,14 @@ size_t validate_payload() {
5858
5959void main ()
6060{
61- stdio_init_all ();
62-
63- while (!tud_cdc_connected ()) {
64- // wait for USB
65- }
66-
6761 adc_init ();
6862 s_board_type = hw_detect_board_type ();
6963
70- printf ("PicoBoot (%s) by webhdx (c) 2025\n" , FW_VER_STRING );
71- printf ("Board Type: %s\n" , hw_board_type_to_string (s_board_type ));
72-
7364 status_led_init (s_board_type );
7465 status_led_on ();
7566
7667 size_t payload_size = validate_payload ();
7768 if (payload_size == SIZE_MAX ) {
78- printf ("PicoBoot: Invalid payload. Entering infinite loop.\n" );
7969 while (true) {
8070 sleep_ms (500 );
8171 status_led_toggle ();
@@ -152,8 +142,6 @@ void main()
152142 pio_sm_set_enabled (pio , transfer_start_sm , true);
153143 pio_sm_set_enabled (pio , clocked_output_sm , true);
154144
155- printf ("PicoBoot: Finished injecting payload. Entering infinite loop.\n" );
156-
157145 while (true) {
158146 tight_loop_contents ();
159147 }
You can’t perform that action at this time.
0 commit comments