git: fa3b320668ba - main - ds1307(4): Fix a typo in a source code comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 20 Apr 2024 12:14:32 UTC
The branch main has been updated by gbe:
URL: https://cgit.FreeBSD.org/src/commit/?id=fa3b320668ba6068014337bbbb05dbd39ac8dfb6
commit fa3b320668ba6068014337bbbb05dbd39ac8dfb6
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2024-04-20 12:14:21 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2024-04-20 12:14:21 +0000
ds1307(4): Fix a typo in a source code comment
- s/slighly/slightly/
MFC after: 1 week
---
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 bf247b618c2c..e8aa6a258edc 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);