From 45c32cd7aaf4f75907ab283c2ec8c9e89756b834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Huy=20V=C3=BB?= Date: Wed, 11 Oct 2017 11:38:26 +0200 Subject: [PATCH] Temperature requirement Temperature range [-80,60] is a requirement in Annex 3 --- pyModeS/ehs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyModeS/ehs.py b/pyModeS/ehs.py index 9db13a4..4dff970 100644 --- a/pyModeS/ehs.py +++ b/pyModeS/ehs.py @@ -339,9 +339,9 @@ def isBDS44(msg, rev=False): if vw is not None and vw[0] > 250: result &= False - # if temp44(msg): - # if temp44(msg) > 60 or temp44(msg) < -80: - # result &= False + if temp44(msg): + if temp44(msg) > 60 or temp44(msg) < -80: + result &= False return result