From eb5a01597fa5fb7142d7e170bfedd6aaa68e6f4c Mon Sep 17 00:00:00 2001 From: shrlnm Date: Wed, 12 Apr 2023 21:24:54 +0300 Subject: [PATCH] fix acf iso modules --- pyren3/mod_acf_func.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyren3/mod_acf_func.py b/pyren3/mod_acf_func.py index bc6d9bd..ab1cb9e 100644 --- a/pyren3/mod_acf_func.py +++ b/pyren3/mod_acf_func.py @@ -188,8 +188,9 @@ def acf_loadModules( de, refdata, platform ): if k['idf']==idf: m['pin'] = k['pin'] m['dst'] = k['dst'] - m['idRx'] = k['idRx'] - m['idTx'] = k['idRx'] + if 'idRx' in k.keys() and 'idTx' in k.keys(): + m['idRx'] = k['idRx'] + m['idTx'] = k['idRx'] m['startDiagReq'] = k['startDiagReq'] m['ecuname'] = k['ecuname'] m['brp'] = k['brp']