diff options
author | kn <kn@cvs.openbsd.org> | 2019-06-26 21:01:21 +0000 |
---|---|---|
committer | kn <kn@cvs.openbsd.org> | 2019-06-26 21:01:21 +0000 |
commit | da7dae657652ed9323bcae8cd23bcb821aa34c28 (patch) | |
tree | b1d0c6b6ad175079910952b884bdd36d1cd28dec /sys/dev/pci/if_bce.c | |
parent | d3af2ebfc68f6d020c4bd00bc1a6211ef580bdb1 (diff) |
Use timeout_add_msec(9)
To initiate LED blinking, simply kick of the timer after the blinking
rate's period rather than one tick to get red of the last hardclock(9)
based timeout in this driver. The now increased delay is compensated by
also turning on the LED immediately.
OK stsp
Diffstat (limited to 'sys/dev/pci/if_bce.c')
0 files changed, 0 insertions, 0 deletions