diff --git a/launch_chffrplus.sh b/launch_chffrplus.sh index 8bf8d7bc7..495998f89 100755 --- a/launch_chffrplus.sh +++ b/launch_chffrplus.sh @@ -45,12 +45,14 @@ set_tici_hw() { } set_lite_hw() { - output=$(i2cget -y 0 0x10 0x00 2>/dev/null) + if grep -q "tici" /sys/firmware/devicetree/base/model 2>/dev/null; then + output=$(i2cget -y 0 0x10 0x00 2>/dev/null) - if [ -z "$output" ]; then - echo "Lite HW" - export LITE=1 - export DISABLE_DRIVER=1 + if [ -z "$output" ]; then + echo "Lite HW" + export LITE=1 + export DISABLE_DRIVER=1 + fi fi }