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

Method write

src/python/SerialHelper.py:64–68  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

62 return ""
63
64 def write(self, data):
65 serial = self.serial
66 data = self.encode(data)
67 cnt = serial.write(data)
68 serial.flush()
69
70 def write_str(self, data, new_line=True):
71 if (new_line):

Callers 14

reset_to_bootloaderFunction · 0.95
write_strMethod · 0.95
send_model_commandFunction · 0.45
send_bind_commandFunction · 0.45
dbg_printFunction · 0.45
etx_passthrough_initFunction · 0.45
dbg_printFunction · 0.45
sendFunction · 0.45
query_yes_noFunction · 0.45
print_errorFunction · 0.45
process_build_flagFunction · 0.45
build_flags.pyFile · 0.45

Calls 2

encodeMethod · 0.95
flushMethod · 0.45

Tested by

no test coverage detected