diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-05-26 08:34:31 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-05-26 12:32:05 -0400 |
commit | ca9756413f2793279b5ba1c1ecf274ce734b2087 (patch) | |
tree | 292f855ec549f6b7355589af4c4a95c86444b4c5 /src/basecmd.c | |
parent | b9940f0e0d7b5b4fae497cc80d14948a091d71c2 (diff) | |
download | kutter-ca9756413f2793279b5ba1c1ecf274ce734b2087.tar.gz kutter-ca9756413f2793279b5ba1c1ecf274ce734b2087.tar.xz kutter-ca9756413f2793279b5ba1c1ecf274ce734b2087.zip |
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>
Diffstat (limited to 'src/basecmd.c')
-rw-r--r-- | src/basecmd.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 |