From b0524947e5a86bdbdd58dab42de3363a627e6910 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 8 Jun 2016 21:33:50 -0400 Subject: sched: Use uint_fast8_t for return type of timers Some architectures are faster passing regular integers than 8bit integers. Use uint_fast8_t so that the architecture chooses the appropriate type. Signed-off-by: Kevin O'Connor --- src/basecmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/basecmd.c') diff --git a/src/basecmd.c b/src/basecmd.c index ab31efc2..2c9562b6 100644 --- a/src/basecmd.c +++ b/src/basecmd.c @@ -156,7 +156,7 @@ DECL_COMMAND(command_finalize_config, "finalize_config crc=%u"); static struct timer group_timer; -static uint8_t +static uint_fast8_t group_end_event(struct timer *timer) { shutdown("Missed scheduling of next event"); -- cgit v1.2.3-70-g09d2