diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2017-06-16 16:32:24 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2017-06-16 16:36:39 +0200 |
commit | eb88372396c2264948bc05586fb54dc318266973 (patch) | |
tree | a6ddaa73878fc0c5e0c891168d85e3ac7a384c09 /decoder.c | |
parent | b197383cfb39b39ff04644855eef57f5d3c18bc1 (diff) | |
download | libsigrokdecode-eb88372396c2264948bc05586fb54dc318266973.tar.gz libsigrokdecode-eb88372396c2264948bc05586fb54dc318266973.zip |
Drop support for PD API version 2.
All decoders must be of PD API version 3 now.
Diffstat (limited to 'decoder.c')
-rw-r--r-- | decoder.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |