mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-14 10:17:56 -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
|
@ -5,7 +5,7 @@
|
|||
|
||||
enum { STEPPER_POSITION_BIAS=0x40000000 };
|
||||
|
||||
uint8_t stepper_event(struct timer *t);
|
||||
uint_fast8_t stepper_event(struct timer *t);
|
||||
void command_config_stepper(uint32_t *args);
|
||||
struct stepper;
|
||||
uint32_t stepper_get_position(struct stepper *s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue