From ca9756413f2793279b5ba1c1ecf274ce734b2087 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 26 May 2017 08:34:31 -0400 Subject: 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 --- src/basecmd.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/basecmd.c') diff --git a/src/basecmd.c b/src/basecmd.c index 840bbee1..600b8106 100644 --- a/src/basecmd.c +++ b/src/basecmd.c @@ -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 -- cgit v1.2.3-70-g09d2