Skip to content

Commit

Permalink
fix sysfs led node naming for RaspberryPi.
Browse files Browse the repository at this point in the history
  • Loading branch information
jens-maus committed Jan 28, 2025
1 parent 878861d commit 1667c46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildroot-external/rootfs-overlay/etc/init.d/S99SetupLEDs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
# leds accordingly
case "${PLATFORM}" in
rpi*)
LED_GREEN="/sys/class/leds/led0"
LED_RED="/sys/class/leds/led1"
LED_GREEN="/sys/class/leds/ACT"
LED_RED="/sys/class/leds/PWR"
;;
tinkerboard*)
LED_GREEN="/sys/class/leds/led-0"
Expand Down

0 comments on commit 1667c46

Please sign in to comment.