X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Fdecoder.hpp;fp=pv%2Fdata%2Fdecode%2Fdecoder.hpp;h=bc1673c97e032cc59ab900cd35cd1a926de7ad6a;hp=2a7ef11ea14365fe8947e41154d493a3d46d9425;hb=ac9494eff3ebc74ae7a87746a4d8668c68f32b52;hpb=a61abf09a38e9b2e0bb7bd1753903069e0cad150 diff --git a/pv/data/decode/decoder.hpp b/pv/data/decode/decoder.hpp index 2a7ef11e..bc1673c9 100644 --- a/pv/data/decode/decoder.hpp +++ b/pv/data/decode/decoder.hpp @@ -63,7 +63,7 @@ struct DecodeChannel struct DecodeBinaryClassInfo { - uint8_t bin_class_id; + uint32_t bin_class_id; char* name; char* description; }; @@ -97,8 +97,8 @@ public: srd_decoder_inst* create_decoder_inst(srd_session *session); void invalidate_decoder_inst(); - uint8_t get_binary_class_count() const; - const DecodeBinaryClassInfo* get_binary_class(uint8_t id) const; + uint32_t get_binary_class_count() const; + const DecodeBinaryClassInfo* get_binary_class(uint32_t id) const; private: const srd_decoder *const decoder_;