linkpi_firmware_history/rootfs/link/shell/oled.sh

8 lines
161 B
Bash
Raw Permalink Normal View History

2024-02-15 22:07:30 +01:00
if [ "`cat /link/config/fac`" != "SH" -o "`i2c_read 0 0x78 0 | grep error`" == "" ]; then
while [ true ]
do
/link/bin/OLED -platform offscreen
sleep 2
done
fi