Resistor tolerance for shunt current measuring