'msg' and 'baud' should not be initialized here.  Just add a DEFAULT clause to the switch statement below that is equivalent to MODULESETTINGS_GPSSPEED_57600.