As author has already mentioned in Simplefoc Docs, the Pins of INA240A2 (Phase B) has been inverted when designing the PCB broad (:https://docs.simplefoc.com/inline_current_sense).
So the current sense of Phase B should be written as
// inverse current sensing gain on phase b
current_sense.gain_b *= -1;
When I was drawing the PCB Broad, I restored this connection ( I inverted the " inverted connection" of phase B.
However, I have not found the related setting in the library of Simplefoc Arduino source code.
So I want to ask if I need to modify the relevant code (Phase B) when I use the modified circuit board.