@@ -37,9 +37,9 @@ extern "C"{
37
37
}
38
38
39
39
#ifndef PRAWNBLASTER_OVERCLOCK
40
- const char VERSION[16 ] = " 1.1.0 " ;
40
+ const char VERSION[16 ] = " 1.1.1 " ;
41
41
#else
42
- const char VERSION[16 ] = " 1.1.0 -overclock" ;
42
+ const char VERSION[16 ] = " 1.1.1 -overclock" ;
43
43
#endif // PRAWNBLASTER_OVERCLOCK
44
44
45
45
int DEBUG;
@@ -717,6 +717,9 @@ void resus_callback(void)
717
717
718
718
// update clock status
719
719
clock_status = INTERNAL;
720
+
721
+ // inform user on next read
722
+ fast_serial_printf (" System Clock Resus'd\r\n " );
720
723
}
721
724
722
725
void loop ()
@@ -1002,9 +1005,9 @@ void loop()
1002
1005
}
1003
1006
else
1004
1007
{
1005
- clock_configure_gpin (clk_sys, (src == 2 ? 22 : 20 ), freq, freq);
1006
- // update clock status
1008
+ // update clock status first so resus can correct if config fails
1007
1009
clock_status = EXTERNAL;
1010
+ clock_configure_gpin (clk_sys, (src == 2 ? 22 : 20 ), freq, freq);
1008
1011
fast_serial_printf (" ok\r\n " );
1009
1012
}
1010
1013
}
@@ -1388,7 +1391,7 @@ int main()
1388
1391
set_sys_clock_khz (100 * MHZ / 1000 , true );
1389
1392
1390
1393
// Temp output 48MHZ clock for debug
1391
- clock_gpio_init (21 , CLOCKS_CLK_GPOUT0_CTRL_AUXSRC_VALUE_CLK_USB, 1 );
1394
+ // clock_gpio_init(21, CLOCKS_CLK_GPOUT0_CTRL_AUXSRC_VALUE_CLK_USB, 1);
1392
1395
1393
1396
fast_serial_init ();
1394
1397
0 commit comments