Skip to content

Commit b5416a9

Browse files
remove flush function from machine UART fake
1 parent c0de0bd commit b5416a9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

fakes/machine.py

+4
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,9 @@ def sendbreak(self) -> None:
425425
"""Send a break condition on the bus"""
426426
raise MachineError('Not yet implemented')
427427

428+
'''
429+
# flush introduced in MicroPython v1.20.0
430+
# use manual timing calculation for testing
428431
def flush(self) -> None:
429432
"""
430433
Waits until all data has been sent
@@ -434,6 +437,7 @@ def flush(self) -> None:
434437
Only available with newer versions than 1.19
435438
"""
436439
raise MachineError('Not yet implemented')
440+
'''
437441

438442
def txdone(self) -> bool:
439443
"""

0 commit comments

Comments
 (0)