V5 motor configuration upon reconnect

It’s a feature (bug really) of PROS. vexos keeps the configuration for flags like reverse if the motor is not present when user code starts or is unplugged, however, PROS doesn’t send it though on startup if it thinks there is no motor, VEXcode however does. The things we keep backup values for are

brake mode
encoderUnits 
gearset      
reversed     
currentLimit 
voltageLimit 

One reason for keeping these values is safety, I didn’t want a motor running at full power when user code had asked for low current and the motor was disconnected and then reconnected.