New option DBLKEYS

Flash saving
Issue 86 fixed (could be made an option in the future)
This commit is contained in:
bsongis
2012-08-19 16:56:43 +00:00
parent de18436cda
commit 6bba0a5311
5 changed files with 40 additions and 44 deletions
+1 -1
View File
@@ -789,7 +789,7 @@ int8_t getMovedSwitch()
bool next = __getSwitch(i);
if (prev != next) {
if (i!=MAX_PSWITCH || next==true)
result = i;
result = next ? i : -i;
if (mask)
switches_states ^= mask;
else