This commit is contained in:
parent
a754c753bb
commit
d9b15aea0d
@ -147,11 +147,11 @@ start)
|
||||
sleep 0.1
|
||||
done
|
||||
|
||||
# Set pca9548 idle_state
|
||||
echo -2 > /sys/bus/i2c/devices/i2c-${devnum}/0-0071/idle_state
|
||||
echo -2 > /sys/bus/i2c/devices/i2c-${devnum}/0-0073/idle_state
|
||||
echo -2 > /sys/bus/i2c/devices/i2c-${devnum}/0-0077/idle_state
|
||||
sleep 0.1
|
||||
# Set pca9548 idle_state
|
||||
echo -2 > /sys/bus/i2c/devices/i2c-${devnum}/${devnum}-0071/idle_state
|
||||
echo -2 > /sys/bus/i2c/devices/i2c-${devnum}/${devnum}-0073/idle_state
|
||||
echo -2 > /sys/bus/i2c/devices/i2c-${devnum}/${devnum}-0077/idle_state
|
||||
sleep 0.1
|
||||
|
||||
bus_en=8
|
||||
cfg_r=`i2cget -y -f 8 0x60 0xD1`
|
||||
|
Loading…
Reference in New Issue
Block a user