todo EFI_MAIN_RELAY_CONTROL

This commit is contained in:
rusefillc 2021-01-11 19:48:38 -05:00
parent 1431baefbc
commit d97501b601
1 changed files with 4 additions and 1 deletions

View File

@ -24,7 +24,10 @@ AC_RELAY_LOGIC=ac_on_switch & (rpm > 850)
# Combined RPM, CLT and VBATT warning light
COMBINED_WARNING_LIGHT=(rpm > fsio_setting(2)) | ((coolant > fsio_setting(3)) | (vbatt < fsio_setting(4)))
#needed by EFI_MAIN_RELAY_CONTROL
#needed by EFI_MAIN_RELAY_CONTROL which is currently FALSE for most of the boards
# todo: make '5' a setting?
# todo: always have 'EFI_MAIN_RELAY_CONTROL'?
# at the moment microRusEFI would not be happy with vbatt > 5 since microRusEFI senses main relay output
#MAIN_RELAY_LOGIC=(time_since_boot >= 0 & time_since_boot < 2) | (vbatt > 5) | in_shutdown
MAIN_RELAY_LOGIC=(!in_mr_bench) & ((vbatt > 5) | in_shutdown)