mirror of https://github.com/m-labs/artiq.git
runtime: more explicit message about startup clock failure
This commit is contained in:
parent
228f7c3d61
commit
0cd74533ca
|
@ -24,8 +24,11 @@ void rtiocrg_init(void)
|
|||
} else
|
||||
printf("WARNING: unknown startup_clock entry in flash storage\n");
|
||||
|
||||
if(!rtiocrg_switch_clock(clk))
|
||||
if(!rtiocrg_switch_clock(clk)) {
|
||||
printf("WARNING: startup RTIO clock failed\n");
|
||||
printf("WARNING: this may cause the system initialization to fail\n");
|
||||
printf("WARNING: fix clocking and reset the device\n");
|
||||
}
|
||||
}
|
||||
|
||||
int rtiocrg_check(void)
|
||||
|
|
Loading…
Reference in New Issue