Skip to content

Commit

Permalink
Merge pull request #127 from WLAN-Pi/fix-crash-on-wlanpi-pro
Browse files Browse the repository at this point in the history
Fix crash when platform is WLAN Pi Pro
  • Loading branch information
joshschmelzle authored Oct 17, 2024
2 parents 53c576e + 4ae1cee commit 7b567e9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
wlanpi-fpms (1.4.6) unstable; urgency=medium

* Fix crash when running on WLAN Pi Pro

-- Josh Schmelzle <josh@joshschmelzle.com> 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
Expand Down
2 changes: 1 addition & 1 deletion fpms/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
2 changes: 1 addition & 1 deletion fpms/modules/screen/luma.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 7b567e9

Please sign in to comment.