stc89: add missing output flush
This commit is contained in:
		| @ -1012,6 +1012,7 @@ class Stc89Protocol(StcBaseProtocol): | |||||||
|  |  | ||||||
|         # check new baudrate |         # check new baudrate | ||||||
|         print("Switching to %d baud: " % self.baud_transfer, end="") |         print("Switching to %d baud: " % self.baud_transfer, end="") | ||||||
|  |         sys.stdout.flush() | ||||||
|         brt, brt_csum, iap, delay = self.calculate_baud() |         brt, brt_csum, iap, delay = self.calculate_baud() | ||||||
|         print("checking ", end="") |         print("checking ", end="") | ||||||
|         sys.stdout.flush() |         sys.stdout.flush() | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user