Fix initial rule3 clearence

This commit is contained in:
Theo Arends 2018-05-24 16:36:12 +02:00
parent 9f329d5fb0
commit e6daeda43e
1 changed files with 1 additions and 1 deletions

View File

@ -907,7 +907,7 @@ void SettingsDelta()
SettingsDefaultSet_5_13_1c();
}
if (Settings.version < 0x050E0002) {
for (byte i = 1; i < MAX_RULE_SETS -1; i++) {
for (byte i = 1; i < MAX_RULE_SETS; i++) {
Settings.rules[i][0] = '\0';
}
Settings.rule_enabled = Settings.flag.rules_enabled;