- for(map<const srd_probe*, shared_ptr<view::LogicSignal> >::
- const_iterator i = _probes.begin();
- i != _probes.end(); i++)
- {
- shared_ptr<view::LogicSignal> signal((*i).second);
- GVariant *const gvar = g_variant_new_int32(
- signal->probe()->index);
+ for (DecodeChannel *ch : channels_) {
+ init_pin_states->data[ch->id] = ch->initial_pin_state;
+
+ GVariant *const gvar = g_variant_new_int32(ch->id); // id = bit position