From 1f3ad2be31d25e4b24bd360678ad2ba9e2090d8e Mon Sep 17 00:00:00 2001 From: Neythen Treloar <33317183+zcqsntr@users.noreply.github.com> Date: Mon, 21 Feb 2022 19:54:12 +0000 Subject: [PATCH 1/4] Update stockTicker.py --- stockTicker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stockTicker.py b/stockTicker.py index 59fb314..56e864e 100755 --- a/stockTicker.py +++ b/stockTicker.py @@ -57,7 +57,7 @@ class StockTicker(): options.chain_length = 2 options.parallel = 1 options.hardware_mapping = 'adafruit-hat' # If you have an Adafruit HAT: 'adafruit-hat' - options.gpio_slowdown = 4 + options.gpio_slowdown = 1 options.brightness = self.brightness self.matrix = RGBMatrix(options = options) print(dir(self.matrix)) From 7621f2e631272f7f2fd21ceab065416ec6831ba8 Mon Sep 17 00:00:00 2001 From: Neythen Treloar <33317183+zcqsntr@users.noreply.github.com> Date: Mon, 21 Feb 2022 20:02:11 +0000 Subject: [PATCH 2/4] Delete system_info.json remove from GitHub as its stopping update --- csv/system_info.json | 1 - 1 file changed, 1 deletion(-) delete mode 100755 csv/system_info.json diff --git a/csv/system_info.json b/csv/system_info.json deleted file mode 100755 index c82636f..0000000 --- a/csv/system_info.json +++ /dev/null @@ -1 +0,0 @@ -{"update_available": false, "first_boot": false} \ No newline at end of file From 8b82113386f5b22aa4cf550814db62b59659cbd2 Mon Sep 17 00:00:00 2001 From: Neythen Treloar <33317183+zcqsntr@users.noreply.github.com> Date: Mon, 21 Feb 2022 20:13:00 +0000 Subject: [PATCH 3/4] Update update.sh force update even if local files get overwritten --- update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 8a56e67..9a2c05e 100755 --- a/update.sh +++ b/update.sh @@ -1,3 +1,3 @@ -sudo -H -u pi git pull origin master +sudo -H -u pi git pull origin master --force From ae72b9791c87dc13de51d635664686bdb277475a Mon Sep 17 00:00:00 2001 From: Neythen Treloar <33317183+zcqsntr@users.noreply.github.com> Date: Mon, 21 Feb 2022 20:23:04 +0000 Subject: [PATCH 4/4] Update update.sh force update even if overwrite local files --- update.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/update.sh b/update.sh index 9a2c05e..23a3d1e 100755 --- a/update.sh +++ b/update.sh @@ -1,3 +1,3 @@ +sudo -H -u pi git fetch --all --force +sudo -H -u pi git reset --hard origin/master sudo -H -u pi git pull origin master --force - -