Skip to content

Commit cbab953

Browse files
authored
Merge pull request #33 from Timendus/config-reload-crash
Fix the config reload crash that affects a small percentage of Thumbys.
2 parents d33859e + 6dbc44d commit cbab953

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/thumbyGrayscale.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,12 @@
2121
from os import stat
2222
from math import sqrt, floor
2323
from array import array
24+
from thumbyAudio import audio
2425
from thumbyButton import buttonA, buttonB, buttonU, buttonD, buttonL, buttonR
2526
from thumbyHardware import HWID
2627
from sys import modules
2728

28-
__version__ = '4.0.2-hemlock'
29+
__version__ = '4.0.3'
2930

3031

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

0 commit comments

Comments
 (0)