We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c006c5a + d817579 commit 09f6c58Copy full SHA for 09f6c58
prawn_do/prawn_do.c
@@ -662,8 +662,9 @@ int main(){
662
fast_serial_printf("Failure. Cannot exactly achieve that clock frequency\r\n");
663
}
664
} else { // external
665
- clock_configure_gpin(clk_sys, 20, freq, freq);
+ // update status first, then resus can correct of configuration fails
666
clk_status = EXTERNAL;
667
+ clock_configure_gpin(clk_sys, 20, freq, freq);
668
fast_serial_printf("ok\r\n");
669
670
0 commit comments