COMBINED_WARNING_LIGHT
This commit is contained in:
parent
169404fc5c
commit
ea54117965
|
@ -307,6 +307,22 @@ void setMazdaMiata2003EngineConfiguration(DECLARE_ENGINE_PARAMETER_F) {
|
|||
|
||||
setEgoSensor(ES_Innovate_MTX_L PASS_ENGINE_PARAMETER);
|
||||
|
||||
//
|
||||
/**
|
||||
* Combined RPM, CLT and VBATT warning light
|
||||
*
|
||||
* to test
|
||||
* set_fsio_setting 2 1800
|
||||
* set_fsio_setting 3 95
|
||||
* set_fsio_setting 4 14
|
||||
*/
|
||||
boardConfiguration->fsio_setting[1] = 6200; // #2 RPM threshold
|
||||
boardConfiguration->fsio_setting[2] = 90; // #3 CLT threshold
|
||||
boardConfiguration->fsio_setting[3] = 13.5; // #4 voltage threshold
|
||||
|
||||
setFsio(1, GPIOE_6, COMBINED_WARNING_LIGHT PASS_ENGINE_PARAMETER);
|
||||
|
||||
|
||||
}
|
||||
|
||||
void setMazdaMiata2003EngineConfigurationNewBoard(DECLARE_ENGINE_PARAMETER_F) {
|
||||
|
|
|
@ -16,5 +16,5 @@ ALTERNATOR_LOGIC=vbatt < 14.5
|
|||
|
||||
AC_RELAY_LOGIC=ac_on_switch
|
||||
|
||||
|
||||
# Combined RPM, CLT and VBATT warning light
|
||||
COMBINED_WARNING_LIGHT=(rpm > fsio_setting(2)) | ((coolant > fsio_setting(3)) | (vbatt < fsio_setting(4)))
|
||||
|
|
Loading…
Reference in New Issue