Reimplement pull resistor settings so they actually work