X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=decoder.c;h=d7395a679eb3d0bac8d9d91a2073cadd4490a1f9;hp=64292bc7077452abb45caba3de6b728546824f44;hb=eb88372396c2264948bc05586fb54dc318266973;hpb=b197383cfb39b39ff04644855eef57f5d3c18bc1 diff --git a/decoder.c b/decoder.c index 64292bc..d7395a6 100644 --- a/decoder.c +++ b/decoder.c @@ -686,8 +686,8 @@ SRD_API int srd_decoder_load(const char *module_name) * PDs of different API versions are incompatible and cannot work. */ apiver = srd_decoder_apiver(d); - if (apiver != 2 && apiver != 3) { - srd_exception_catch("Only PD API version 2/3 is supported, " + if (apiver != 3) { + srd_exception_catch("Only PD API version 3 is supported, " "decoder %s has version %ld", module_name, apiver); fail_txt = "API version mismatch"; goto err_out;