mirror of https://github.com/Desuuuu/klipper.git
docs: Minor wording update to Code_Overview.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
e8dc44a0ca
commit
1c18265a62
|
@ -59,11 +59,11 @@ functions are declared using the DECL_COMMAND() macro (see the
|
||||||
Task, init, and command functions always run with interrupts enabled
|
Task, init, and command functions always run with interrupts enabled
|
||||||
(however, they can temporarily disable interrupts if needed). These
|
(however, they can temporarily disable interrupts if needed). These
|
||||||
functions should avoid long pauses, delays, or do work that lasts a
|
functions should avoid long pauses, delays, or do work that lasts a
|
||||||
significant time. These functions schedule work at specific times by
|
significant time. (Long delays in these "task" functions result in
|
||||||
scheduling timers. Long delays in these "task" functions result in
|
|
||||||
scheduling jitter for other "tasks" - delays over 100us may become
|
scheduling jitter for other "tasks" - delays over 100us may become
|
||||||
noticeable, delays over 500us may result in command retransmissions,
|
noticeable, delays over 500us may result in command retransmissions,
|
||||||
delays over 100ms may result in watchdog reboots.
|
delays over 100ms may result in watchdog reboots.) These functions
|
||||||
|
schedule work at specific times by scheduling timers.
|
||||||
|
|
||||||
Timer functions are scheduled by calling sched_add_timer() (located in
|
Timer functions are scheduled by calling sched_add_timer() (located in
|
||||||
**src/sched.c**). The scheduler code will arrange for the given
|
**src/sched.c**). The scheduler code will arrange for the given
|
||||||
|
|
Loading…
Reference in New Issue