Skip to content

Commit

Permalink
Merge pull request #267 from fuglaro/master
Browse files Browse the repository at this point in the history
Fix grayscale on config reload crashing devices, and LyteByes OLED2.
  • Loading branch information
TinyCircuits authored Nov 18, 2024
2 parents a6453fb + 17c0fab commit 7ad1f5d
Show file tree
Hide file tree
Showing 11 changed files with 1,896 additions and 267 deletions.
4 changes: 3 additions & 1 deletion Fireplace/thumbyGrayscale.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@
from os import stat
from math import sqrt, floor
from array import array
from thumbyAudio import audio
from thumbyButton import buttonA, buttonB, buttonU, buttonD, buttonL, buttonR
from thumbyHardware import HWID
from sys import modules

__version__ = '4.0.2-hemlock'
__version__ = '4.0.3'


emulator = None
Expand Down Expand Up @@ -275,6 +276,7 @@ def __init__(self):
if not emulator:
try:
with open("thumbyGS.cfg", "r") as fh:
audio.playBlocking(11,11) # Fix rare config load crash (PF).
vls = fh.read().split('\n')
for fhd in vls:
if fhd.startswith('gsV3,'):
Expand Down
Loading

0 comments on commit 7ad1f5d

Please sign in to comment.