mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-12 09:17:54 -06:00
sched: Use 'unsigned int' instead of 'uint16_t' for shutdown reason
Use 'unsigned int' instead of 'uint16_t' as is faster on some platforms. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
b0524947e5
commit
b3e4ff7ef0
2 changed files with 4 additions and 4 deletions
|
@ -32,8 +32,8 @@ void sched_timer_kick(void);
|
|||
uint8_t sched_is_shutdown(void);
|
||||
uint16_t sched_shutdown_reason(void);
|
||||
void sched_clear_shutdown(void);
|
||||
void sched_try_shutdown(uint16_t reason);
|
||||
void sched_shutdown(uint16_t reason) __noreturn;
|
||||
void sched_try_shutdown(unsigned int reason);
|
||||
void sched_shutdown(unsigned int reason) __noreturn;
|
||||
void sched_main(void);
|
||||
|
||||
// Compiler glue for DECL_X macros above.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue