mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-17 23:27:06 +08:00
Revert "tools(idf_monitor): Add character filter for Win10 ubuntu subsystem"
This reverts commit ae143af728c75a3e4b35cd059631f5d57bbf7e34.
This commit is contained in:
@ -98,11 +98,6 @@ MATCH_PCADDR = re.compile(r'0x4[0-9a-f]{7}', re.IGNORECASE)
|
||||
|
||||
DEFAULT_TOOLCHAIN_PREFIX = "xtensa-esp32-elf-"
|
||||
|
||||
def is_ascii(b):
|
||||
if b > '\x7f':
|
||||
return False
|
||||
return True
|
||||
|
||||
def get_time_stamp():
|
||||
ct = time.time()
|
||||
local_time = time.localtime(ct)
|
||||
@ -334,8 +329,6 @@ class Monitor(object):
|
||||
# this may need to be made more efficient, as it pushes out a byte
|
||||
# at a time to the console
|
||||
for b in data:
|
||||
if is_ascii(b) == False:
|
||||
continue
|
||||
if self.enable_time == 'y' and self.next_line == True:
|
||||
self.console.write_bytes(get_time_stamp() + ": ")
|
||||
self.next_line = False
|
||||
|
Reference in New Issue
Block a user