You are here: Forum Home → ANT Developers Forums → ANT+ FIT Forum Has Moved → Thread
FIT_UINT8 DeveloperFieldDefinition::GetSize() const
{
return size;
case STATE_DEV_FIELD_DATA: {
MesgDefinition& localMesgDef = localMesgDefs[localMesgIndex];
DeveloperFieldDefinition* fieldDef = localMesgDef.GetDevFieldByIndex(fieldIndex);
if (fieldBytesLeft == 0)
{
fieldDataIndex = 0;
fieldBytesLeft = fieldDef->GetSize();
if (fieldBytesLeft == 0)
{
fieldBytesLeft = localMesgDefs->
GetDevFieldByIndex(++fieldIndex)->GetSize(); <---- line 873