i2c getting disabled on reboot

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
seaurchin
Posts: 5
Joined: Mon Oct 28, 2019 3:57 pm

i2c getting disabled on reboot

Post by seaurchin »

i enable i2c from raspi-config and even directly from /boot/config.txt

but on every reboot it gets disabled.

Code: Select all

#-------I²C-------------
dtparam=i2c_arm=on
dtparam=i2c1=on
i2c_arm_baudrate=100000

#-------SPI-------------
dtparam=spi=on
pls help me or I have to switch to raspbian vanilla distro
Post Reply