Add a reporter for param reporting complete

pull/74/head
connor rigby 2017-04-26 14:47:58 -07:00
parent 14f5a4cc56
commit b1421f7ec3
3 changed files with 8 additions and 6 deletions

View File

@ -150,6 +150,6 @@ const long PIN_GUARD_5_ACTIVE_STATE_DEFAULT = 1;
const long STATUS_GENERAL_DEFAULT = 0;
const char SOFTWARE_VERSION[] = "GENESIS.V.01.09.EXPERIMENTAL\0";
const char SOFTWARE_VERSION[] = "GENESIS.V.01.10.EXPERIMENTAL\0";
#endif /* CONFIG_H_ */

View File

@ -26,6 +26,8 @@ int F20Handler::execute(Command *command)
{
ParameterList::getInstance()->readAllValues();
Serial.print("R20");
CurrentState::getInstance()->printQAndNewLine();
return 1;
return 0;
}

View File

@ -110,7 +110,7 @@ void setup()
//ServoControl::getInstance()->attach();
// Dump all values to the serial interface
ParameterList::getInstance()->readAllValues();
// ParameterList::getInstance()->readAllValues();
// Get the settings for the pin guard
PinGuard::getInstance()->loadConfig();
@ -238,8 +238,8 @@ void loop()
CurrentState::getInstance()->storeEndStops();
CurrentState::getInstance()->printEndStops();
if (debugMessages)
{
if (debugMessages)
{
Serial.print(COMM_REPORT_COMMENT);
Serial.print(" MEM ");
Serial.print(freeMemory());
@ -251,7 +251,7 @@ void loop()
CurrentState::getInstance()->printQAndNewLine();
StepperControl::getInstance()->test();
}
}
// Tim 2017-04-20 Temporary disabling the warning of no valid configuration
// until fully supported on RPI