mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-10 08:17:52 -06:00
pru: Support config_reset command to manually reset mcu
Add support for resetting the MCU via a software only mechanism. This is useful on the PRU. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
7b7f57e01c
commit
7083a33ecd
6 changed files with 52 additions and 12 deletions
|
@ -165,8 +165,8 @@ sched_timer_dispatch(void)
|
|||
return next_waketime;
|
||||
}
|
||||
|
||||
// Remove all user timers on a shutdown
|
||||
static void
|
||||
// Remove all user timers
|
||||
void
|
||||
sched_timer_reset(void)
|
||||
{
|
||||
timer_list = &deleted_timer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue