Rev 1654 | Rev 1658 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1654 | Rev 1657 | ||
---|---|---|---|
Line 86... | Line 86... | ||
86 | if(print) printf("\n\rBatt:"); |
86 | if(print) printf("\n\rBatt:"); |
87 | if(EE_Parameter.UnterspannungsWarnung < 50) // automatische Zellenerkennung |
87 | if(EE_Parameter.UnterspannungsWarnung < 50) // automatische Zellenerkennung |
88 | { |
88 | { |
89 | timer = SetDelay(500); |
89 | timer = SetDelay(500); |
90 | if(print) while (!CheckDelay(timer)); |
90 | if(print) while (!CheckDelay(timer)); |
91 | // up to 6s LiPo |
91 | // up to 6s LiPo, less than 2s is technical impossible |
92 | for(cells = 1; cells < 7; cells++) |
92 | for(cells = 2; cells < 7; cells++) |
93 | { |
93 | { |
94 | if(UBat < cells * MAX_CELL_VOLTAGE) break; |
94 | if(UBat < cells * MAX_CELL_VOLTAGE) break; |
95 | } |
95 | } |
Line 96... | Line 96... | ||
96 | 96 |