From 8aec3d50780080d25eb39102ea996d2a8abe8b4f Mon Sep 17 00:00:00 2001 From: Cort Buffington Date: Wed, 11 Dec 2013 19:25:19 -0600 Subject: [PATCH] Fixed the last fix :) --- dmrlink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmrlink.py b/dmrlink.py index 1f465f9..7f17f1a 100755 --- a/dmrlink.py +++ b/dmrlink.py @@ -773,7 +773,7 @@ class IPSC(DatagramProtocol): # When we hear from the master, record it's ID, flag that we're connected, and reset the dead counter. elif _packettype == MASTER_REG_REPLY: - _hex_mode = (data[10:11]) + _hex_mode = (data[5]) _mode = int(h(_hex_mode), 16) # mask individual Mode parameters _link_op = _mode & PEER_OP_MSK