From fc6270e339ce57ec36ecefd4322e21e177d2770b Mon Sep 17 00:00:00 2001 From: Sekwah Date: Sun, 5 Jul 2020 03:16:11 +0100 Subject: [PATCH] Fix NFC comms --- joycontrol/ir_nfc_mcu.py | 1 + 1 file changed, 1 insertion(+) diff --git a/joycontrol/ir_nfc_mcu.py b/joycontrol/ir_nfc_mcu.py index 50b387b..076e965 100644 --- a/joycontrol/ir_nfc_mcu.py +++ b/joycontrol/ir_nfc_mcu.py @@ -143,6 +143,7 @@ class IrNfcMcu: copyarray(self._bytes, 5, data) copyarray(self._bytes, 5 + len(data), self._nfc_content[0:3]) copyarray(self._bytes, 5 + len(data) + 3, self._nfc_content[4:8]) + self.set_action(Action.NON) crc = crc8() crc.update(bytes(self._bytes[:-1]))