MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / send_reply

Function send_reply

FluxEngine.cydsn/main.c:191–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191static void send_reply(struct any_frame* f)
192{
193 print("reply 0x%02x", f->f.type);
194 wait_until_writeable(FLUXENGINE_CMD_IN_EP_NUM);
195 USBFS_LoadInEP(FLUXENGINE_CMD_IN_EP_NUM, (uint8_t*) f, f->f.size);
196}
197
198static void send_error(int code)
199{

Callers 12

send_errorFunction · 0.85
cmd_get_versionFunction · 0.85
cmd_seekFunction · 0.85
cmd_recalibrateFunction · 0.85
cmd_measure_speedFunction · 0.85
cmd_bulk_write_testFunction · 0.85
cmd_bulk_read_testFunction · 0.85
cmd_readFunction · 0.85
cmd_writeFunction · 0.85
cmd_eraseFunction · 0.85
cmd_set_driveFunction · 0.85
cmd_measure_voltagesFunction · 0.85

Calls 2

printFunction · 0.85
wait_until_writeableFunction · 0.85

Tested by

no test coverage detected