Skip to content

Commit bdebb15

Browse files
authored
fix i2c-dev typo
1 parent e898899 commit bdebb15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,15 @@ Adding a RTC to AstroArch is easy from version 1.6.
108108
First, wire your RTC to your pi, open a terminal and type `sudo i2cdetect -y 1` you should see a similar table, take note of the number for the next steps
109109
![i2cdetect](https://github.com/devDucks/astroarch/assets/4163222/147f90ed-6f56-43ab-900b-0ad0c44f919c)
110110

111-
Now find the line `dtoverlay=i2c_rtc` in `/boot/config.txt` and modify it by adding a comma and the name of your RTC device, in my case for the ds3231 will be `dtoverlay=i2c_rtc,ds3231`
111+
Now find the line `dtoverlay=i2c-rtc` in `/boot/config.txt` and modify it by adding a comma and the name of your RTC device, in my case for the ds3231 will be `dtoverlay=i2c-rtc,ds3231`
112112

113113
Reboot your Raspberry PI and if you type again `sudo i2cdetect -y 1` you should now see a `UU` instead of the number, this means the kernel module for your RTC has been loaded correctly.
114114

115115
That's all you need! We just enabled automatic modules to setup the system time from the RTC if it's present! No more steps are required!
116116

117117
Reboot your PI and you should have the time automatically synchronized when it starts!
118118

119-
If you want to remove the RTC sync just drop `,xxxx` from `/boot/config.txt` at line `dtoverlay=i2c_rtc,xxxx`
119+
If you want to remove the RTC sync just drop `,xxxx` from `/boot/config.txt` at line `dtoverlay=i2c-rtc,xxxx`
120120

121121
# My time is not syncing from the network, what should I do?
122122
Some users have been reporting that the system time is not syncing whit the network, I am not sure where this problem comes from but it seems related to `timesyncd` (the utility used to sync network time) and a mobile internet network.

0 commit comments

Comments
 (0)