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:
Kevin O'Connor 2017-05-26 08:34:31 -04:00
parent b9940f0e0d
commit ca9756413f
4 changed files with 17 additions and 16 deletions

View file

@ -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