changed ISR masking back to old solution; throttle rescale bugfix with limits changed;

This change make ISR masking for 10msec call back to the old solution.
Bugfix for throttle time calculation if limits are changed.
Noticed my optimized recalculation routine was wrong.
Now I changed it and recalculation is done on 32bit basis which cause 16bytes more flash.
I also noticed the original version (in trunk) just does recalculation of 10 base. That means for full throttle range there would be only 10 steps noticed if limits are changed. That leads to a very unpresise calculation if your throttle limit do not match these steps.
I can do something similar but this time only with 8 steps but save 16bytes flash.
What's your opinion.
This commit is contained in:
open.20.fsguruh@xoxy.net
2013-02-24 14:11:12 +00:00
parent f3a02f0f4e
commit 83dedd83bc
2 changed files with 106 additions and 23 deletions
+1 -1
View File
@@ -58,7 +58,7 @@
#elif defined(PCBGRUVIN9X)
#define EEPROM_VER 213
#else
#define EEPROM_VER 212
#define EEPROM_VER 213
#endif
#ifndef PACK