I'm installing a manual transfer switch to feed a 240V subpanel from either generator or the main panel. No devices other than the main panel are bonded. Since the neutral is not switched, can I bypass the transfer switch with the neutral and ground wires and connect the neutrals from the main panel and the generator directly to the subpanel?
Does the pictured wiring meet code?