@@ -255,12 +255,6 @@ bool gpsAqcuisitionComplete(int & indicator); // defined in c72_menuHA_GPS.hpp
255255// Returns: nothing
256256//
257257// ------------------------------------------------------------------
258- // SYNC FAMILY
259- //
260- // :CM#
261- // Synchronizes the mount to the current target RA and DEC values.
262- //
263- // ------------------------------------------------------------------
264258// HOME FAMILY
265259//
266260// :hP#
@@ -302,6 +296,11 @@ bool gpsAqcuisitionComplete(int & indicator); // defined in c72_menuHA_GPS.hpp
302296// ------------------------------------------------------------------
303297// EXTRA OAT FAMILY - These are meant for the PC control app
304298//
299+ // :XFR#
300+ // Perform a Factory Reset
301+ // Clears all the EEPROM settings
302+ // Returns: 1#
303+ //
305304// :XDnnn#
306305// Run drift alignment
307306// This runs a drift alignment procedure where the mounts slews east, pauses, slews west and pauses.
@@ -815,7 +814,7 @@ String MeadeCommandProcessor::handleMeadeExtraCommands(String inCmd) {
815814 _lcdMenu->setCursor (0 , 1 );
816815 _mount->startSlewing (TRACKING);
817816 }
818- else if (inCmd[0 ] == ' G' ) { // Get RA/DEC steps/deg, speedfactor
817+ else if (inCmd[0 ] == ' G' ) { // Get RA/DEC steps/deg, speedfactor
819818 if (inCmd[1 ] == ' R' ) {
820819 return String (_mount->getStepsPerDegree (RA_STEPS)) + " #" ;
821820 }
@@ -910,6 +909,11 @@ String MeadeCommandProcessor::handleMeadeExtraCommands(String inCmd) {
910909 #endif
911910 return String (" 0#" );
912911 }
912+ else if ((inCmd[0 ]== ' F' ) && (inCmd[1 ]== ' R' ))
913+ {
914+ _mount->clearConfiguration ();
915+ return String (" 1#" );
916+ }
913917
914918 return " " ;
915919}
0 commit comments