mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 19:54:32 +02:00
Fixed comparsion of integer and string that evaluated always to False
Closes https://github.com/espressif/esp-idf/issues/9052 Closes IDFGH-7482
This commit is contained in:
@@ -1010,7 +1010,7 @@ def main():
|
|||||||
'--disable-address-decoding', '-d',
|
'--disable-address-decoding', '-d',
|
||||||
help="Don't print lines about decoded addresses from the application ELF file.",
|
help="Don't print lines about decoded addresses from the application ELF file.",
|
||||||
action='store_true',
|
action='store_true',
|
||||||
default=True if os.environ.get('ESP_MONITOR_DECODE') == 0 else False
|
default=os.getenv('ESP_MONITOR_DECODE') == '0'
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
Reference in New Issue
Block a user