suppress GPIO init
This commit is contained in:
parent
c3f42cba40
commit
f43eb04e36
|
@ -181,7 +181,7 @@ class Playzing(pgfw.Game):
|
||||||
if self.delegate.compare(event, "any"):
|
if self.delegate.compare(event, "any"):
|
||||||
os.chdir(pathlib.Path("games/ibitfit"))
|
os.chdir(pathlib.Path("games/ibitfit"))
|
||||||
print(f"current working dir is {os.getcwd()}")
|
print(f"current working dir is {os.getcwd()}")
|
||||||
ibitfit = ElectricSieve()
|
ibitfit = ElectricSieve(suppress_gpio_init=True)
|
||||||
ibitfit.display.set_screen(dimensions=ibitfit.configuration.get("display", "dimensions"))
|
ibitfit.display.set_screen(dimensions=ibitfit.configuration.get("display", "dimensions"))
|
||||||
ibitfit.run()
|
ibitfit.run()
|
||||||
os.chdir(pathlib.Path("../.."))
|
os.chdir(pathlib.Path("../.."))
|
||||||
|
|
Loading…
Reference in New Issue