gpio: Fix battery offsets, fix LED paths

master
Mike Kershaw / Dragorn 2023-08-04 10:16:20 -04:00
parent e4c00778f4
commit e9fa48db58
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
OFFSET=416
OFFSET=448
GPIO40=$((40 + $OFFSET))
GPIO41=$((41 + $OFFSET))

View File

@ -1,8 +1,8 @@
#!/bin/bash
RED_LED="/sys/class/leds/shark:red:system/brightness"
GREEN_LED="/sys/class/leds/shark:green:system/brightness"
BLUE_LED="/sys/class/leds/shark:blue:system/brightness"
RED_LED="/sys/class/leds/red:system/brightness"
GREEN_LED="/sys/class/leds/green:system/brightness"
BLUE_LED="/sys/class/leds/blue:system/brightness"
colors=(0 0 0)
pattern=(1 0 0 0 0 0)