Update ds3231-rtc.md
This commit is contained in:
parent
f6841e750d
commit
af4653c2a6
|
|
@ -76,7 +76,7 @@ dtoverlay=i2c-rtc,ds3231
|
||||||
|
|
||||||
## 5. Edit file: /boot/rc-local
|
## 5. Edit file: /boot/rc-local
|
||||||
|
|
||||||
Before "exit 0", add content bellow:
|
Before " **exit 0** ", add content bellow:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
@ -86,7 +86,9 @@ hwclock -r
|
||||||
# write rtc-time to system
|
# write rtc-time to system
|
||||||
hwclock -s
|
hwclock -s
|
||||||
|
|
||||||
exit 0
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
**exit 0**
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue