mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-17 19:57:57 -06:00
sched: Allow shutdown_reason to be uint8
Store the shutdown_reason code in an 8-bit integer - this produces better code on AVR. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
b9940f0e0d
commit
ca9756413f
4 changed files with 17 additions and 16 deletions
|
@ -7,6 +7,7 @@
|
|||
#include "basecmd.h" // oid_lookup
|
||||
#include "board/irq.h" // irq_save
|
||||
#include "board/misc.h" // alloc_maxsize
|
||||
#include "board/pgm.h" // READP
|
||||
#include "command.h" // DECL_COMMAND
|
||||
#include "sched.h" // sched_clear_shutdown
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue