|
|
@ -44,7 +44,7 @@ bool settingsFocusHook(const char *command) {
|
|
|
|
|
|
|
|
|
|
|
|
switch (sub_command) {
|
|
|
|
switch (sub_command) {
|
|
|
|
case ISVALID:
|
|
|
|
case ISVALID:
|
|
|
|
Focus.printBool(::EEPROMSettings.isValid());
|
|
|
|
::Focus.printBool(::EEPROMSettings.isValid());
|
|
|
|
Serial.println();
|
|
|
|
Serial.println();
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case GETVERSION:
|
|
|
|
case GETVERSION:
|
|
|
@ -78,8 +78,8 @@ bool eepromFocusHook(const char *command) {
|
|
|
|
if (Serial.peek() == '\n') {
|
|
|
|
if (Serial.peek() == '\n') {
|
|
|
|
for (uint16_t i = 0; i < EEPROM.length(); i++) {
|
|
|
|
for (uint16_t i = 0; i < EEPROM.length(); i++) {
|
|
|
|
uint8_t d = EEPROM[i];
|
|
|
|
uint8_t d = EEPROM[i];
|
|
|
|
Focus.printNumber(d);
|
|
|
|
::Focus.printNumber(d);
|
|
|
|
Focus.printSpace();
|
|
|
|
::Focus.printSpace();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Serial.println();
|
|
|
|
Serial.println();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|