/*
- * This file is part of the sigrok project.
+ * This file is part of the libsigrok project.
*
* Copyright (C) 2010-2012 Bert Vermeulen <bert@biot.com>
* Copyright (C) 2012 Peter Stuge <peter@stuge.se>
}
/* All modules must provide a data or recv API callback. */
- if (!outputs[i]->data && !outputs[i]->recv) {
- sr_err("No data/recv in module %d ('%s').", i, d);
+ if (!outputs[i]->data && !outputs[i]->receive) {
+ sr_err("No data/receive in module %d ('%s').", i, d);
errors++;
}