mirror of https://github.com/FOME-Tech/fome-fw.git
auto-sync
This commit is contained in:
parent
2307ea22ea
commit
7c9847ffa5
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue