auto-sync

This commit is contained in:
rusEfi 2015-03-22 00:05:56 -05:00
parent 2307ea22ea
commit 7c9847ffa5
2 changed files with 2 additions and 2 deletions

View File

@ -438,7 +438,7 @@ static void setCrankingRpm(int value) {
* this method is used in console - it also prints current configuration
*/
static void setAlgorithmInt(int value) {
setAlgorithmInt((engine_load_mode_e) value);
setAlgorithm((engine_load_mode_e) value);
doPrintConfiguration(engine);
}

View File

@ -33,7 +33,7 @@ void scheduleByTime(const char *prefix, scheduling_s *scheduling, efitimeus_t ti
}
void scheduleTask(const char *prefix, scheduling_s *scheduling, int delayUs, schfunc_t callback, void *param) {
int delaySt = delayUs * CH_FREQUENCY / 1000000;
int delaySt = MY_US2ST(delayUs);
if (delaySt <= 0) {
/**
* in case of zero delay, we should invoke the callback