[TWIST 1.3] hwConfig.setNgndOn() doesn't work
On TWIST 1.3 hwConfig.setNgndOn() doesn't work as it is the incorrect PIN in device tree.
In device tree, change gpiob 11 to gpioc 6 :
Actual code:
/ {
ngnd: ngnd-switch {
compatible = "gpio-device";
ngnd-gpio-pin {
gpios = <&gpiob 11 GPIO_ACTIVE_HIGH>;
label = "Neutral to GND shunt";
};
};
Correct code:
/ {
ngnd: ngnd-switch {
compatible = "gpio-device";
ngnd-gpio-pin {
gpios = <&gpioc 6 GPIO_ACTIVE_HIGH>;
label = "Neutral to GND shunt";
};
};