From 597e98e37e5e2f211c6737af8e3cfa1a453e9686 Mon Sep 17 00:00:00 2001 From: Michael Buesch Date: Tue, 6 Aug 2019 17:14:11 +0200 Subject: pilc: Do not manipulate i2c0 state Signed-off-by: Michael Buesch --- pilc/templates/rc.local | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pilc/templates/rc.local b/pilc/templates/rc.local index 05c69f06..1511e180 100644 --- a/pilc/templates/rc.local +++ b/pilc/templates/rc.local @@ -15,12 +15,6 @@ set +e export PATH=/bin:/usr/bin:/sbin:/usr/sbin export LC_ALL=C LANGUAGE=C LANG=C -# Workaround firmware issue leaving i2c0 in an non-ALT0 state. -for i in 28 29; do - echo $i > /sys/class/gpio/export - echo in > /sys/class/gpio/gpio${i}/direction -done - # Add /dev/ttyS0 link for convenience. if ! [ -e /dev/ttyS0 ]; then ln -s /dev/ttyAMA0 /dev/ttyS0 -- cgit v1.2.3