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

Function send_error

FluxEngine.cydsn/main.c:198–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198static void send_error(int code)
199{
200 DECLARE_REPLY_FRAME(struct error_frame, F_FRAME_ERROR);
201 r.error = code;
202 send_reply((struct any_frame*) &r);
203}
204
205/* buffer must be big enough for a frame */
206static int usb_read(int ep, uint8_t buffer[FRAME_SIZE])

Callers 4

cmd_bulk_read_testFunction · 0.85
cmd_readFunction · 0.85
cmd_writeFunction · 0.85
handle_commandFunction · 0.85

Calls 1

send_replyFunction · 0.85

Tested by

no test coverage detected