Merge branch 'bugfix/fixed-unsatisfiable-condition' into 'master'

Fixed comparison with ESP_MONITOR_DECODE

Closes IDFGH-7482

See merge request espressif/esp-idf!18325
This commit is contained in:
Martin Gano 2022-05-31 19:00:12 +08:00
commit d11af9051b

View File

@ -27,7 +27,7 @@ def get_parser(): # type: () -> argparse.ArgumentParser
'--disable-address-decoding', '-d',
help="Don't print lines about decoded addresses from the application ELF file",
action='store_true',
default=os.environ.get('ESP_MONITOR_DECODE') == 0
default=os.getenv('ESP_MONITOR_DECODE') == '0'
)
parser.add_argument(