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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user