ANT: Opening incorrect device

Train view can display invalid data after opening the
wrong ANT sensor.
This commit is contained in:
Jon Escombe
2015-02-19 15:19:53 +00:00
parent 2cbca0a812
commit d43ee7b6a4

View File

@@ -834,7 +834,7 @@ void ANTChannel::attemptTransition(int message_id)
//qDebug()<<number<<"TRANSITION from assign channel";
parent->sendMessage(ANTMessage::setChannelID(number, 0, device_id, 0)); // lets go back to allowing anything
parent->sendMessage(ANTMessage::setChannelID(number, device_number, device_id, 0)); // we need to be specific!
break;
case ANT_CHANNEL_ID: