Fixed SPI and PSU main bug