[gpioths] Fix GPIOTHS_DEBUG
Chase the removal of dev from gpioths_dht_readbytes() in r355540. Reviewed by: ian Approved by: will (mentor) Differential Revision: https://reviews.freebsd.org/D22926
This commit is contained in:
parent
b1f8da3843
commit
aa06306162
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356115
@ -220,10 +220,10 @@ gpioths_dht_readbytes(struct gpioths_softc *sc)
|
||||
#ifdef GPIOTHS_DEBUG
|
||||
/* Debug bits */
|
||||
for (i = 0; i < GPIOTHS_DHT_CYCLES; i++)
|
||||
device_printf(dev, "%d: %d %d\n", i, calibrations[i],
|
||||
device_printf(sc->dev, "%d: %d %d\n", i, calibrations[i],
|
||||
intervals[i]);
|
||||
|
||||
device_printf(dev, "len=%d, data=%x, crc=%x/%x\n", avglen, value, crc,
|
||||
device_printf(sc->dev, "len=%d, data=%x, crc=%x/%x\n", avglen, value, crc,
|
||||
calc);
|
||||
#endif /* GPIOTHS_DEBUG */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user