Changes to switch.cpp after fixing hardware