Invalid ANT FE-C power indicated by 0xFFF not 0xFFFF

This commit is contained in:
Jon Escombe
2015-11-01 13:17:44 +00:00
parent 2bead0676a
commit d35dba2a29

View File

@@ -686,7 +686,7 @@ void ANTChannel::broadcastEvent(unsigned char *ant_message)
if (antMessage.data_page == FITNESS_EQUIPMENT_TRAINER_SPECIFIC_PAGE)
{
if (antMessage.fecInstantPower != 0xFFFF)
if (antMessage.fecInstantPower != 0xFFF)
parent->setWatts(antMessage.fecInstantPower);
if (antMessage.fecCadence != 0xFF)
parent->setSecondaryCadence(antMessage.fecCadence);