Commit a51fbc2c authored by Andrey Filippov's avatar Andrey Filippov

fixed operation in target mode

parent 122e6ff8
...@@ -151,6 +151,7 @@ class X393SensCmprs(object): ...@@ -151,6 +151,7 @@ class X393SensCmprs(object):
global BUFFER_ADDRESS_H2D, BUFFER_LEN_H2D, BUFFER_ADDRESS_D2H, BUFFER_LEN_D2H, BUFFER_ADDRESS_BIDIR, BUFFER_LEN_BIDIR global BUFFER_ADDRESS_H2D, BUFFER_LEN_H2D, BUFFER_ADDRESS_D2H, BUFFER_LEN_D2H, BUFFER_ADDRESS_BIDIR, BUFFER_LEN_BIDIR
# global SENSOR_DEFAULTS_SIMULATION # global SENSOR_DEFAULTS_SIMULATION
print ("X393SensCmprs.__init__: dry_mode=",dry_mode) print ("X393SensCmprs.__init__: dry_mode=",dry_mode)
if (dry_mode):
try: try:
if ":" in dry_mode: if ":" in dry_mode:
print ("X393SensCmprs.__init__: setting SENSOR_DEFAULTS") print ("X393SensCmprs.__init__: setting SENSOR_DEFAULTS")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment