Skip to content

Commit 09f6c58

Browse files
committed
Merge branch 'main' into philipstarkey/rp235x
2 parents c006c5a + d817579 commit 09f6c58

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

prawn_do/prawn_do.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,8 +662,9 @@ int main(){
662662
fast_serial_printf("Failure. Cannot exactly achieve that clock frequency\r\n");
663663
}
664664
} else { // external
665-
clock_configure_gpin(clk_sys, 20, freq, freq);
665+
// update status first, then resus can correct of configuration fails
666666
clk_status = EXTERNAL;
667+
clock_configure_gpin(clk_sys, 20, freq, freq);
667668
fast_serial_printf("ok\r\n");
668669
}
669670
}

0 commit comments

Comments
 (0)