git: 4f8ee76d2a33 - stable/14 - ds1307(4): Fix a typo in a source code comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 Apr 2024 05:50:00 UTC
The branch stable/14 has been updated by gbe:
URL: https://cgit.FreeBSD.org/src/commit/?id=4f8ee76d2a33ad09e5bf4453f3700e66e3947cec
commit 4f8ee76d2a33ad09e5bf4453f3700e66e3947cec
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2024-04-20 12:14:21 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2024-04-27 05:49:47 +0000
ds1307(4): Fix a typo in a source code comment
- s/slighly/slightly/
(cherry picked from commit fa3b320668ba6068014337bbbb05dbd39ac8dfb6)
---
sys/dev/iicbus/rtc/ds1307.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);