Did the OP check the circuit breaker for the flaps I wonder ?
Depends entirely on the failure. We had a dodgy impulse spring on a mag, but I happily flew it home as I was pretty sure that once started the thing wasn't going to stop. Else it would have meant lots of hassle. I had the AP CB pop a few times on one flight for no apparent reason, no reason to cancel, just hand fly. I had an engine in a twin over mountains develop a misfire. I turned around and went home. Had fuel pressure indication drop to zero in a SEP shortly after take off. I aborted the flight and went to the pub instead after a bit of umming and ahhhing and "it is probably the gauge"ing.
(NB: The gangsters who pretended to be aircraft mechanics at the flying school where I rented the plane dismissed this as a gauge problem after a 10 second inspection. A few days later the engine stopped at the run up with FI and student onboard due to fcuked fuel pump).