I made a circuit that will switch between the 2 resistor dividers for more precise voltage measurement, at first i used 2 n channel mosfets and 2 gpio pins but now i though up of this circuit to save a gpio pin, will it work correctly?, when gpio is high the top resistor divider will pass and the bottom one when gpio is low.