mirror of https://github.com/hak5/shark-files.git
gpio: Fix battery offsets, fix LED paths
parent
e4c00778f4
commit
e9fa48db58
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
OFFSET=416
|
||||
OFFSET=448
|
||||
|
||||
GPIO40=$((40 + $OFFSET))
|
||||
GPIO41=$((41 + $OFFSET))
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue