]> sigrok.org Git - pulseview.git/blobdiff - pv/data/decodesignal.hpp
Fix #1024 by changing decode channel assigment to PDs
[pulseview.git] / pv / data / decodesignal.hpp
index 0e0911521b09973ed2d28fd1ca72efa1f139b0df..04f3b77f45c3393d2bc3fa378929588cff41adc5 100644 (file)
@@ -61,7 +61,8 @@ class SignalData;
 
 struct DecodeChannel
 {
-       uint16_t id;  // Also tells which bit within a sample represents this channel
+       uint16_t id;     ///< Global numerical ID for the decode channels in the stack
+       uint16_t bit_id; ///< Tells which bit within a sample represents this channel
        const bool is_optional;
        const pv::data::SignalBase *assigned_signal;
        const QString name, desc;