MCPcopy Create free account
hub / github.com/apache/nuttx / sim_decoder_output_available

Function sim_decoder_output_available

arch/sim/src/sim/sim_decoder.c:213–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213static int sim_decoder_output_available(void *priv)
214{
215 sim_decoder_t *sim_decoder = priv;
216
217 if (sim_decoder->capture_on == false)
218 {
219 return 0;
220 }
221
222 work_queue(HPWORK, &sim_decoder->work,
223 sim_decoder_work, sim_decoder, 0);
224
225 return 0;
226}
227
228static int sim_decoder_capture_available(void *priv)
229{

Callers

nothing calls this directly

Calls 1

work_queueFunction · 0.50

Tested by

no test coverage detected