https://github.com/simplefoc/Arduino-FOC/blob/7f9c45fa3af42eec993b807b97dc544f50975e73/src/common/base_classes/CurrentSense.cpp#L270 I found a typo where the measured current from phase B is swapped with itself instead of the current for phase A
Arduino-FOC/src/common/base_classes/CurrentSense.cpp
Line 270 in 7f9c45f
I found a typo where the measured current from phase B is swapped with itself instead of the current for phase A