aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2024-04-20 12:14:21 +0000
committerGordon Bergling <gbe@FreeBSD.org>2024-04-27 05:49:47 +0000
commit4f8ee76d2a33ad09e5bf4453f3700e66e3947cec (patch)
tree8c26490aa82701933074b3f3f3c9de068e71fbc3
parent8ca6066eb00f8f03fe16ba041bd9827bf61c3939 (diff)
downloadsrc-stable/14.tar.gz
src-stable/14.zip
ds1307(4): Fix a typo in a source code commentstable/14
- s/slighly/slightly/ (cherry picked from commit fa3b320668ba6068014337bbbb05dbd39ac8dfb6)
-rw-r--r--sys/dev/iicbus/rtc/ds1307.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/iicbus/rtc/ds1307.c b/sys/dev/iicbus/rtc/ds1307.c
index cc232bae0e94..7c9d006b2146 100644
--- a/sys/dev/iicbus/rtc/ds1307.c
+++ b/sys/dev/iicbus/rtc/ds1307.c
@@ -471,7 +471,7 @@ ds1307_gettime(device_t dev, struct timespec *ts)
/*
* If the chip is in AM/PM mode remember that.
* The EPSON uses a 1 to signify 24 hour mode, while the DS uses a 0,
- * in slighly different positions.
+ * in slightly different positions.
*/
if (sc->chiptype == TYPE_EPSON_RX8035)
ampm_mode = !(data[DS1307_HOUR] & RX8035_HOUR_USE_24);