I'm closer to retirement than to University, but I'll give you the benefit of my experience.
In my university, and I expect in most, the first two years were so similar for all engineering students that it was possible for someone to change from one engineering field to a different engineering field at any time during the first two years without losing much, if any, credit. My first year, I majored in ceramic engineering because that department offered me a scholarship. After one year, I transferred into mechanical engineering, because I liked geometry and Newtonian physics. But I was spending all my spare time in the computer labs, and I saw that mechanical engineering involved lots of thermodynamics, which I was not very interested in, so at the end of my second year, I transferred into computer science. At my school, computer science was about 60% software and 40% hardware design. Anyway, my point is that, once you get into an engineering program, it's OK to change your mind from one engineering field to another.
rstofer said that engineering school won't teach you anything practical. I'd quibble with the details of that; I learned a few very practical things, but I would agree that the focus is on the theory more than the practice. What I would say is that a good university strives to give its students an education that will last a lifetime, instead of teaching the fad of the month. This pushes them to teach the theory, because any student who understands the theory can apply the theory to many areas of practice, including areas of practice that haven't been invented yet. (by "understands the theory" I mean a deeper understanding than "can parrot it back just barely sufficiently to answer the test questions").
I don't know what the future will bring 40 years down the road, but I expect nobody will be making much money tinkering with Arduinos. But unless technological society suffers a total collapse, I believe many people will be making money creating and using electronic circuitry. I expect inductors, capacitors, and resistors will be in wide use. There will be analog filters, amplifiers, feedback loops, antennas (both intended and unintended), analog-to-digital converters, digital-to-analog converters, and lots of software driving all of that, among other things.
I expect oscilloscopes will be displaying traces, and many of those traces will be good approximations of sine waves, exponential curves, and exponentially damped sine waves. Anyone who has taken a course in fundamentals of differential equations will know why: the solution to a first order ordinary differential equation is an exponential curve, while the solution to a second order ordinary differential equation is a sine wave. Nature is apparently extremely fond of first- and second-order differential equations. Engineers should become very familiar with the patterns that nature adores so much.
Learn the kind of fundamental theory that will last a lifetime, and learn a few practical applications of it while you're at it, and you'll be set. Don't ever stop learning. If you ever feel like you're seriously on the wrong track, don't be afraid of a mid-course correction -- I've been to many retirement parties, and none of the honorees had figured out much of the course of their career by age 25.
Don't forget to have fun!