summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/target/trx_toolkit/data_msg.py6
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