MCPcopy Create free account
hub / github.com/ExpressLRS/ExpressLRS / clear

Method clear

src/python/SerialHelper.py:17–19  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

15 return data
16
17 def clear(self):
18 self.serial.reset_input_buffer()
19 self.buf = bytearray()
20
21 def set_serial(self, serial):
22 self.serial = serial

Callers 7

bf_passthrough_initFunction · 0.95
reset_to_bootloaderFunction · 0.95
__init__Method · 0.95
_validate_serialrxFunction · 0.45
purgeMethod · 0.45
setUpFunction · 0.45
test_fhss_uniqueFunction · 0.45

Calls

no outgoing calls

Tested by 2

setUpFunction · 0.36
test_fhss_uniqueFunction · 0.36