From 24aca1430fbf0c2601245fb4070dc6f12e4bf485 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 21 Jul 2024 15:18:08 -0400 Subject: [PATCH] Update update add rpitx check and update --- update | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/update b/update index 2dede7ad..5e3098b6 100755 --- a/update +++ b/update @@ -159,6 +159,13 @@ if [ ! -d "/home/pi/PiSSTVpp" ]; then fi +if [[ $(grep 'SYNCWITHPWM' /home/pi/rpitx/src/librpitx/src/fskburst.h) ]]; then + echo "rpitx already updated" + else + echo "updating rpitx" + /home/pi/rpitx/update.sh + fi + cd /home/pi/pi-power-button git checkout reboot-mode-change-beta > .updated_b