aboutsummaryrefslogtreecommitdiffstats
path: root/src/stepper.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-01-13 12:10:00 -0500
committerKevin O'Connor <kevin@koconnor.net>2017-01-13 12:10:00 -0500
commit9a44a20a9d25f7e5d38ff943fbbd51d0f305ce3f (patch)
tree0772b124becf45b6561db108bcec0e93953209a8 /src/stepper.c
parentf335045273401d89977b663eab9b96d62e5e2bbb (diff)
downloadkutter-9a44a20a9d25f7e5d38ff943fbbd51d0f305ce3f.tar.gz
kutter-9a44a20a9d25f7e5d38ff943fbbd51d0f305ce3f.tar.xz
kutter-9a44a20a9d25f7e5d38ff943fbbd51d0f305ce3f.zip
command: Check for reentrant calls to sendf()
Allow sendf() to be called from irq and timer context - check for the case where sendf() is called while already in sendf() and simply discard those messages. This makes it safe to use output() debugging calls even in irq and timer context. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stepper.c')
0 files changed, 0 insertions, 0 deletions