Browse Source

Sean found a bug in cursor location

pyserial_fix
Kevin Roberts 10 years ago
parent
commit
10a753449c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      alarmdecoder/messages.py

+ 1
- 1
alarmdecoder/messages.py View File

@@ -173,7 +173,7 @@ class Message(BaseMessage):


if int(self.panel_data[19:21], 16) & 0x01 > 0: if int(self.panel_data[19:21], 16) & 0x01 > 0:
# Current cursor location on the alpha display. # Current cursor location on the alpha display.
self.cursor_location = int(self.bitfield[21:23], 16)
self.cursor_location = int(self.panel_data[21:23], 16)


def dict(self, **kwargs): def dict(self, **kwargs):
""" """


Loading…
Cancel
Save