mirror of
git://soft.sys114.com/klipper
synced 2026-02-10 22:48:08 +09:00
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:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user