mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-17 19:57:57 -06:00
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 <kevin@koconnor.net>
This commit is contained in:
parent
fa85094cbb
commit
b0524947e5
7 changed files with 14 additions and 14 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue