* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
-#include "libsigrok.h"
+#include <config.h>
+#include <libsigrok/libsigrok.h>
/**
* @file
return "no channel group specified";
case SR_ERR_DATA:
return "data is invalid";
+ case SR_ERR_IO:
+ return "input/output error";
default:
return "unknown error";
}
return "SR_ERR_TIMEOUT";
case SR_ERR_CHANNEL_GROUP:
return "SR_ERR_CHANNEL_GROUP";
+ case SR_ERR_DATA:
+ return "SR_ERR_DATA";
+ case SR_ERR_IO:
+ return "SR_ERR_IO";
default:
return "unknown error code";
}