fix RTC was not working becouse i2c was off | close dride/dride-core#59
This commit is contained in:
parent
5c4267dfb3
commit
3f94254ca8
|
@ -210,10 +210,13 @@ sudo apt-get install python-smbus i2c-tools -y
|
|||
# TODO: turn on ISC on raspi-config...
|
||||
|
||||
|
||||
# add to sudo nano /boot/config.txt
|
||||
# add to /boot/config.txt
|
||||
echo "dtoverlay=i2c-rtc,ds3231,dwc2" >> /boot/config.txt
|
||||
echo "dtparam=i2c_arm=on" >> /boot/config.txt
|
||||
|
||||
# add to /boot/config.txt
|
||||
echo "i2c-dev" >> /etc/modules
|
||||
|
||||
|
||||
# Remove hw-clock
|
||||
sudo apt-get -y remove fake-hwclock
|
||||
|
|
Loading…
Reference in New Issue
Block a user