diff --git a/debian/changelog b/debian/changelog index cb72abf..28b9aab 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +wlanpi-fpms (1.4.6) unstable; urgency=medium + + * Fix crash when running on WLAN Pi Pro + + -- Josh Schmelzle Thu, 17 Oct 2024 11:32:51 -0500 + wlanpi-fpms (1.4.5) unstable; urgency=medium * Server mode nonpersistence is now handled by wlanpi-server-nonpersistence.service shipped in wlanpi-server package diff --git a/fpms/__version__.py b/fpms/__version__.py index b6b3d02..0b8ddba 100644 --- a/fpms/__version__.py +++ b/fpms/__version__.py @@ -14,5 +14,5 @@ __url__ = "https://github.com/wlan-pi/wlanpi-fpms" __author__ = "Jiri Brejcha" __author_email__ = "jirka@jiribrejcha.net" -__version__ = "1.4.2" +__version__ = "1.4.6" __license__ = "BSD-3-Clause" diff --git a/fpms/modules/screen/luma.py b/fpms/modules/screen/luma.py index d30e6be..a75c67c 100644 --- a/fpms/modules/screen/luma.py +++ b/fpms/modules/screen/luma.py @@ -188,7 +188,7 @@ def init(self): if PLATFORM == PLATFORM_PRO: # Reduce the contrast to also help reduce the noise # that's being produced by the display for some reason - device.contrast(128) + self.device.contrast(128) return True def drawImage(self, image):