diff options
| author | Andriy Gapon <avg@FreeBSD.org> | 2019-10-25 15:39:46 +0000 |
|---|---|---|
| committer | Andriy Gapon <avg@FreeBSD.org> | 2019-10-25 15:39:46 +0000 |
| commit | b8c776ba02fbe4ab6a0b7947c9e8bd4675a2f81a (patch) | |
| tree | dbd2ecf2d93a85487b8f7d6894385b9f47bb7c73 /sys/dev/ow | |
| parent | bb7b803bf2299d512d9eab58d58367c02325dcec (diff) | |
Notes
Diffstat (limited to 'sys/dev/ow')
| -rw-r--r-- | sys/dev/ow/owc_gpiobus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ow/owc_gpiobus.c b/sys/dev/ow/owc_gpiobus.c index e0f9509e18db..149c820d59e6 100644 --- a/sys/dev/ow/owc_gpiobus.c +++ b/sys/dev/ow/owc_gpiobus.c @@ -307,7 +307,7 @@ owc_gpiobus_read_data(device_t dev, struct ow_timing *t, int *bit) /* Wait out the rest of t_slot */ do { now = sbinuptime(); - } while (now - then < t->t_slot * SBT_1US); + } while (now - then < (t->t_slot + t->t_rec)* SBT_1US); RELBUS(sc); |
