Merge pull request #953 from PavelSindler/farm_mode_fix

G98 saves farm number
This commit is contained in:
XPila 2018-07-23 17:31:42 +02:00 committed by GitHub
commit 0659cf0287
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4634,6 +4634,7 @@ void process_commands()
farm_mode = 1;
PingTime = millis();
eeprom_update_byte((unsigned char *)EEPROM_FARM_MODE, farm_mode);
EEPROM_save_B(EEPROM_FARM_NUMBER, &farm_no);
SilentModeMenu = SILENT_MODE_OFF;
eeprom_update_byte((unsigned char *)EEPROM_SILENT, SilentModeMenu);
break;