ETB progress
This commit is contained in:
parent
9782acc425
commit
9f29f30950
|
@ -43,7 +43,9 @@
|
|||
* set etb_p X
|
||||
* set etb_i X
|
||||
* set etb_d X
|
||||
* set etb_o X
|
||||
*
|
||||
* set_etb X
|
||||
*
|
||||
* http://rusefi.com/forum/viewtopic.php?f=5&t=592
|
||||
*
|
||||
|
@ -253,7 +255,7 @@ static EtbController etbController;
|
|||
* set_etb X
|
||||
* manual duty cycle control without PID. Percent value from 0 to 100
|
||||
*/
|
||||
static void setThrottleDutyCycle(float level) {
|
||||
void setThrottleDutyCycle(float level) {
|
||||
scheduleMsg(&logger, "setting ETB duty=%f%%", level);
|
||||
if (cisnan(level)) {
|
||||
valueOverride = NAN;
|
||||
|
|
|
@ -16,6 +16,7 @@ void setEtbPFactor(float value);
|
|||
void setEtbIFactor(float value);
|
||||
void setEtbDFactor(float value);
|
||||
void setEtbOffset(int value);
|
||||
void setThrottleDutyCycle(float level);
|
||||
bool isETBRestartNeeded(void);
|
||||
void stopETBPins(void);
|
||||
void startETBPins(void);
|
||||
|
|
|
@ -1188,6 +1188,7 @@ const command_f_s commandsF[] = {
|
|||
{"etb_p", setEtbPFactor},
|
||||
{"etb_i", setEtbIFactor},
|
||||
{"etb_d", setEtbDFactor},
|
||||
{"etb", setThrottleDutyCycle},
|
||||
#endif /* EFI_ELECTRONIC_THROTTLE_BODY */
|
||||
|
||||
// {"", },
|
||||
|
|
Loading…
Reference in New Issue