From 11a35767b233c758592997d622159b24edb3e869 Mon Sep 17 00:00:00 2001 From: Marianpol Date: Mon, 23 Aug 2021 21:51:17 +0200 Subject: [PATCH] Remove comments about CAF --- pyren/mod_elm.py | 2 -- pyren/mod_globals.py | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pyren/mod_elm.py b/pyren/mod_elm.py index 9197d41..4bbc1f9 100644 --- a/pyren/mod_elm.py +++ b/pyren/mod_elm.py @@ -1947,7 +1947,6 @@ class ELM: self.check_answer(self.cmd("at l0")) self.check_answer(self.cmd("at al")) - #This need to be enabled to use the send_can_cfc_caf function if mod_globals.opt_obdlink and mod_globals.opt_caf: self.check_answer(self.cmd("AT CAF1")) self.check_answer(self.cmd("STCSEGR 1")) @@ -2038,7 +2037,6 @@ class ELM: self.check_answer (self.cmd ("at st ff")) # reset adaptive timing step 1 self.check_answer (self.cmd ("at at 0")) # reset adaptive timing step 2 - # This need to be enabled to use the send_can_cfc_caf function if mod_globals.opt_obdlink and mod_globals.opt_caf: self.check_answer (self.cmd ("STCFCPA " + TXa + ", " + RXa)) diff --git a/pyren/mod_globals.py b/pyren/mod_globals.py index 4a1689d..da6c8af 100755 --- a/pyren/mod_globals.py +++ b/pyren/mod_globals.py @@ -23,7 +23,7 @@ opt_cmd = False opt_ddt = False opt_si = False #try slow init every time opt_cfc0 = False #turn off automatic FC and do it by script -opt_caf = False #turn on CAN Automatic Formatting, need to be enabled when send_can_cfc_caf function is used +opt_caf = False #turn on CAN Automatic Formatting opt_n1c = False #turn off L1 cache opt_dev = False #switch to development session for commands from DevList opt_devses = '1086' #development session for commands from DevList