Skip to content

Commit

Permalink
修复停止后串口未关闭的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
tianxiaoMCU committed Feb 9, 2021
1 parent 52a99a9 commit c17a171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def start(self):
self.ui.comboBox_baudrate.setEnabled(True)
self.ui.pushButton_scan.setEnabled(True)

self.rtt2uart.stop()
self.rtt2uart.stop()

self.start_state = False
self.ui.pushButton_Start.setText("Start")
Expand Down

0 comments on commit c17a171

Please sign in to comment.