mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Actually use the quick search timeout
Was checking the quick search flag against the channel number instead of the channel flags!
This commit is contained in:
@@ -1014,7 +1014,7 @@ void ANTChannel::attemptTransition(int message_id)
|
||||
case ANT_CHANNEL_ID:
|
||||
//qDebug()<<number<<"TRANSITION from channel id";
|
||||
//qDebug()<<number<<"**** adjust timeout";
|
||||
if (channel_type & CHANNEL_TYPE_QUICK_SEARCH) {
|
||||
if (channel_type_flags & CHANNEL_TYPE_QUICK_SEARCH) {
|
||||
parent->sendMessage(ANTMessage::setSearchTimeout(number, (int)(timeout_scan/2.5)));
|
||||
} else {
|
||||
parent->sendMessage(ANTMessage::setSearchTimeout(number, (int)(timeout_lost/2.5)));
|
||||
|
||||
Reference in New Issue
Block a user