Set sensible default for dwell by voltage multiplier table #4067
This commit is contained in:
parent
1a8e714c4e
commit
02599a439d
|
@ -14,3 +14,7 @@ float getInitialAdvance(int rpm, float map, float advanceMax);
|
|||
void buildTimingMap(float advanceMax);
|
||||
angle_t getAdvanceCorrections(int rpm);
|
||||
size_t getMultiSparkCount(int rpm);
|
||||
|
||||
class IgnitonState : public ignition_state_state {
|
||||
public:
|
||||
}
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) controllers/algo\ignition_state.txt Wed Apr 13 15:35:05 EDT 2022
|
||||
// by class com.rusefi.output.CHeaderConsumer
|
||||
// begin
|
||||
#pragma once
|
||||
#include "rusefi_types.h"
|
||||
// start of ignition_state
|
||||
struct ignition_state {
|
||||
/**
|
||||
* offset 0
|
||||
*/
|
||||
float baseDwell = (float)0;
|
||||
/**
|
||||
* offset 4
|
||||
*/
|
||||
float voltageCorrection = (float)0;
|
||||
/** total size 8*/
|
||||
};
|
||||
|
||||
// end
|
||||
// this section was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) controllers/algo\ignition_state.txt Wed Apr 13 15:35:05 EDT 2022
|
|
@ -15,3 +15,4 @@ Usages:
|
|||
trigger_state: [ "TriggerState.java", "controllers/trigger" ]
|
||||
wall_fuel_state: [ "WallFuelState.java", "controllers/algo" ]
|
||||
idle_state: [ "IdleState.java", "controllers/actuators" ]
|
||||
ignition_state: [ "IgnitionState.java", "controllers/algo" ]
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
package com.rusefi.config.generated;
|
||||
|
||||
// this file was generated automatically by rusEFI tool ConfigDefinition.jar based on (unknown script) controllers/algo\ignition_state.txt Wed Apr 13 15:35:05 EDT 2022
|
||||
|
||||
// by class com.rusefi.output.FileJavaFieldsConsumer
|
||||
import com.rusefi.config.*;
|
||||
|
||||
public class IgnitionState {
|
||||
public static final Field BASEDWELL = Field.create("BASEDWELL", 0, FieldType.FLOAT);
|
||||
public static final Field VOLTAGECORRECTION = Field.create("VOLTAGECORRECTION", 4, FieldType.FLOAT);
|
||||
public static final Field[] VALUES = {
|
||||
BASEDWELL,
|
||||
VOLTAGECORRECTION,
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue