Commit fd10cfc4 authored by Tristan Gingold's avatar Tristan Gingold

spll_external.c: avoid build error for wrs. To be fixed

parent c047feb5
Pipeline #4841 failed with stage
in 3 minutes and 28 seconds
......@@ -120,7 +120,12 @@ int external_align_fsm(volatile struct spll_external_state *s)
SPLL->ECCR &= (~SPLL_ECCR_EXT_REF_PLLRST);
timer_delay(10);
ljd_ad9516_stat = ljd_ad9516_init();
#if 0
f_ext = spll_measure_frequency(SPLL_OSC_EXT);
#else
/* TODO: measure the OSC-EXT freq */
f_ext = 10000000;
#endif
if (!ljd_ad9516_stat && (f_ext > 9999000) && (f_ext < 10001000)) {
s->align_state = ALIGN_STATE_WAIT_PLOCK;
pp_printf("External AD9516 locked\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment