Added 4 milliohm shunt resistor config #20

Open
peterpoetzi wants to merge 3 commits from peters_platine_shunt into master
2 changed files with 16 additions and 0 deletions
Showing only changes of commit 3e0ac63d64 - Show all commits

View File

@@ -498,8 +498,8 @@ void updateMotors()
#ifdef SHUNT_4_MILLIOHM
curL_DC *= 2;
curR_DC *= 2;
curL_DC *= 2.162;
curR_DC *= 2.162;
#endif
const bool chopL = std::abs(curL_DC) > (left.iDcMax.load() * AMPERE2BIT_CONV);