idf_monitor: fix toggle timestamps also call toggle logging issue

This commit is contained in:
Fu Hanxi
2021-09-23 09:28:47 +08:00
parent ca8d432462
commit ba0481aabd

View File

@@ -180,7 +180,6 @@ class SerialHandler:
self.logger.toggle_logging()
elif cmd == CMD_TOGGLE_TIMESTAMPS:
self.logger.toggle_timestamps()
self.logger.toggle_logging()
elif cmd == CMD_ENTER_BOOT:
self.serial_instance.setDTR(high) # IO0=HIGH
self.serial_instance.setRTS(low) # EN=LOW, chip in reset