Skip to content

Commit

Permalink
Update led_sys.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Apr 24, 2024
1 parent 3e7ee10 commit 819e774
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions led_sys.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ elif grep -q "Raspberry Pi" /proc/cpuinfo; then
COLOR="green"
debugMessage "Only One LED"
fi
elif [ ! -d /sys/class/leds/usr-led2/brightness ]; then
PLATFORM="rock5"
debugMessage "Platform: Rock5"
elif [ ! -d /sys/class/leds/user-led/brightness ]; then
PLATFORM="cm3"
debugMessage "Platform: CM3"

elif [ ! -d /sys/class/leds/board-led/brightness ]; then
PLATFORM="zero3w"
debugMessage "Platform: Zero3w"
elif [ ! -d /sys/class/leds/usr-led2/brightness ]; then
PLATFORM="rock5"
debugMessage "Platform: Rock5"
fi

# Main functions
Expand Down

0 comments on commit 819e774

Please sign in to comment.