What are the consequences of not having a magnetic field in the atmosphere on electronics?
There are quite a few man-made electronic devices attached/landed on celestial object with weak/almost no magnetic field, both operational and deprecated. The celestial object include, but are not limited to Mars, Moon, Venus, Titan, few asteroids, as well as a number of satelites and probes that are just floating in space with no external source of magnetic fields other than the far-away Sun.
No problem. Everything works as expected in regard to the magnetic fields.
Then again, the Earth's magnetic field can be quite useful in some unexpected manners. For example, some satelites use it to generate torque for attitude control