chiark / gitweb /
Enforce a minimum "low" time for the output.
authorBen Harris <bjh21@bjh21.me.uk>
Fri, 23 Nov 2018 23:26:59 +0000 (23:26 +0000)
committerBen Harris <bjh21@bjh21.me.uk>
Sat, 8 Dec 2018 22:30:09 +0000 (22:30 +0000)
commitca37924239304e9d1c86347f6a717c6beb245da2
treecf7517621dfa77d307ab921dabf28549234fbe52
parent183ed928a18a8fa4c59f7705108f0a5efb7782ba
Enforce a minimum "low" time for the output.

By sleeping for 250 ms after each pulse, we ensure that even if
CLOCK_REALTIME is suddenly put forward by 29.7 seconds we won't start
a new pulse before the dial has recovered from the last one.
clunk.c