Skip to content

Commit

Permalink
Merge pull request #16 from Infineon/develop
Browse files Browse the repository at this point in the history
Fixed the bug in the getAngleSpeed function
  • Loading branch information
djaumann authored Jul 12, 2021
2 parents 77b64e2 + b9919c9 commit dd039b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/corelib/TLE5012b.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ errorTypes Tle5012b::getAngleSpeed(double &finalAngleSpeed)
}
errorTypes Tle5012b::getAngleSpeed(double &finalAngleSpeed, int16_t &rawSpeed, updTypes upd, safetyTypes safe)
{
int8_t numOfData = 0x5;
int8_t numOfData = 0x6;
uint16_t rawData[numOfData] = {};

errorTypes status = readMoreRegisters(reg.REG_ASPD + numOfData, rawData, upd, safe);
Expand Down

0 comments on commit dd039b0

Please sign in to comment.