sched: Write out a message on startup
Send a "startup" message after completing the mcu init functions. This may help detect mcu reboots during debugging. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
5e6acf7dbc
commit
156e9b7556
|
@ -329,6 +329,8 @@ sched_main(void)
|
||||||
extern void ctr_run_initfuncs(void);
|
extern void ctr_run_initfuncs(void);
|
||||||
ctr_run_initfuncs();
|
ctr_run_initfuncs();
|
||||||
|
|
||||||
|
sendf("starting");
|
||||||
|
|
||||||
int ret = setjmp(shutdown_jmp);
|
int ret = setjmp(shutdown_jmp);
|
||||||
if (ret)
|
if (ret)
|
||||||
run_shutdown(ret);
|
run_shutdown(ret);
|
||||||
|
|
Loading…
Reference in New Issue