MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / ds_set_datafeed_callback

Function ds_set_datafeed_callback

libsigrok4DSL/lib_main.c:276–279  ·  view source on GitHub ↗

* Set the data receive callback. */

Source from the content-addressed store, hash-verified

274 * Set the data receive callback.
275 */
276SR_API void ds_set_datafeed_callback(ds_datafeed_callback_t cb)
277{
278 lib_ctx.data_forward_callback = cb;
279}
280
281/**
282 * Get the device list, if the field _handle is 0, the list visited to end.

Callers 1

initMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected