sr: change sr_datafeed_callback_t to use sdi

This commit is contained in:
Bert Vermeulen 2012-07-22 15:05:47 +02:00
parent a5b35a167a
commit ff14f01b20
1 changed files with 2 additions and 2 deletions

View File

@ -84,8 +84,8 @@ SR_API int sr_info_get(struct sr_dev_driver *driver, int id,
/*--- session.c -------------------------------------------------------------*/
typedef void (*sr_datafeed_callback_t)(struct sr_dev *dev,
struct sr_datafeed_packet *packet);
typedef void (*sr_datafeed_callback_t)(const struct sr_dev_inst *sdi,
struct sr_datafeed_packet *packet);
/* Session setup */
SR_API int sr_session_load(const char *filename);