Skip to content

Commit

Permalink
Added return statement to getRegBits()
Browse files Browse the repository at this point in the history
Compilation for ESP32 error: not having return statement in function returning non void
  • Loading branch information
mhollfelder authored Nov 11, 2018
1 parent ddf73f3 commit 9706892
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Tlv493d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@ uint8_t Tlv493d::getRegBits(uint8_t regMaskIndex)
return tlv493d::getFromRegs(mask, mInterface.regWriteData);
}
}
return 0;
}

void Tlv493d::calcParity(void)
Expand Down

0 comments on commit 9706892

Please sign in to comment.