@@ -37,9 +37,9 @@ extern "C"{
3737}
3838
3939#ifndef PRAWNBLASTER_OVERCLOCK
40- const char VERSION[16 ] = " 1.1.0 " ;
40+ const char VERSION[16 ] = " 1.1.1 " ;
4141#else
42- const char VERSION[16 ] = " 1.1.0 -overclock" ;
42+ const char VERSION[16 ] = " 1.1.1 -overclock" ;
4343#endif // PRAWNBLASTER_OVERCLOCK
4444
4545int DEBUG;
@@ -717,6 +717,9 @@ void resus_callback(void)
717717
718718 // update clock status
719719 clock_status = INTERNAL;
720+
721+ // inform user on next read
722+ fast_serial_printf (" System Clock Resus'd\r\n " );
720723}
721724
722725void loop ()
@@ -1002,9 +1005,9 @@ void loop()
10021005 }
10031006 else
10041007 {
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
10071009 clock_status = EXTERNAL;
1010+ clock_configure_gpin (clk_sys, (src == 2 ? 22 : 20 ), freq, freq);
10081011 fast_serial_printf (" ok\r\n " );
10091012 }
10101013 }
@@ -1388,7 +1391,7 @@ int main()
13881391 set_sys_clock_khz (100 * MHZ / 1000 , true );
13891392
13901393 // 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);
13921395
13931396 fast_serial_init ();
13941397
0 commit comments