Refactoring

This commit is contained in:
bernet.andre@gmail.com
2013-07-07 07:50:18 +00:00
parent a548818523
commit 4c92ad1da8
-5
View File
@@ -2904,15 +2904,10 @@ void perOut(uint8_t mode, uint8_t tick10ms)
continue; continue;
} }
else if (!mixEnabled) { else if (!mixEnabled) {
if (md->speedDown) {
if (mixCondition) { if (mixCondition) {
continue; continue;
} }
} }
else if (mixCondition) {
continue;
}
}
if (mode==e_perout_mode_normal && (!mixCondition || mixEnabled || swOn[i].delay)) { if (mode==e_perout_mode_normal && (!mixCondition || mixEnabled || swOn[i].delay)) {
if (md->mixWarn) lv_mixWarning |= 1 << (md->mixWarn - 1); if (md->mixWarn) lv_mixWarning |= 1 << (md->mixWarn - 1);