diff options
Diffstat (limited to 'src/target/trx_toolkit/data_msg.py')
-rw-r--r-- | src/target/trx_toolkit/data_msg.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/target/trx_toolkit/data_msg.py b/src/target/trx_toolkit/data_msg.py index 62fd29b5..3393ddb8 100644 --- a/src/target/trx_toolkit/data_msg.py +++ b/src/target/trx_toolkit/data_msg.py @@ -297,9 +297,9 @@ class DATAMSG_TRX2L1(DATAMSG): RSSI_MIN = -120 RSSI_MAX = -50 - # TODO: verify this range - TOA256_MIN = -256 * 200 - TOA256_MAX = 256 * 200 + # Min and max values of int16_t + TOA256_MIN = -32768 + TOA256_MAX = 32767 # Specific message fields rssi = None |