mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Fix uart receiving code
This commit is contained in:
parent
c4d17fb6dd
commit
aa5047cc7b
@ -93,10 +93,10 @@ def write(data):
|
||||
uart.write(data)
|
||||
|
||||
def available():
|
||||
return 0 # Not implemented as there is no way for the us to be ready to receive the data.
|
||||
return uart.any()
|
||||
|
||||
def read_byte():
|
||||
return 0 # Not implemented as there is no way for the us to be ready to receive the data.
|
||||
return uart.readchar()
|
||||
|
||||
# Helper Stuff
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user