mirror of https://github.com/rusefi/rusefi.git
more of conditional compilation
This commit is contained in:
parent
066b1546ae
commit
d0c37af02b
|
@ -67,6 +67,7 @@ void setDiscoveryPdm() {
|
|||
|
||||
// todo: should this be part of more default configurations?
|
||||
void setFrankensoConfiguration() {
|
||||
#if HW_FRANKENSO
|
||||
engineConfiguration->trigger.type = trigger_type_e::TT_ONE_PLUS_ONE;
|
||||
|
||||
commonFrankensoAnalogInputs();
|
||||
|
@ -164,6 +165,7 @@ void setFrankensoConfiguration() {
|
|||
|
||||
// todo: 8.2 or 10k?
|
||||
engineConfiguration->vbattDividerCoeff = ((float) (10 + 33)) / 10 * 2;
|
||||
#endif // HW_FRANKENSO
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue