auto-sync
This commit is contained in:
parent
ef0ca54630
commit
4060c88500
|
@ -42,9 +42,13 @@ void setDodgeRam1996(DECLARE_ENGINE_PARAMETER_F) {
|
|||
boardConfiguration->injectionPins[7] = GPIOD_3;
|
||||
|
||||
boardConfiguration->ignitionPins[0] = GPIOC_9;
|
||||
boardConfiguration->ignitionPins[1] = GPIO_UNASSIGNED;
|
||||
boardConfiguration->ignitionPins[2] = GPIO_UNASSIGNED;
|
||||
boardConfiguration->ignitionPins[3] = GPIO_UNASSIGNED;
|
||||
|
||||
boardConfiguration->mainRelayPin = GPIOE_5;
|
||||
boardConfiguration->fuelPumpPin = GPIOE_6;
|
||||
boardConfiguration->fanPin = GPIO_UNASSIGNED;
|
||||
|
||||
engineConfiguration->engineChartSize = 450;
|
||||
|
||||
|
|
|
@ -298,6 +298,11 @@ extern AdcDevice fastAdc;
|
|||
|
||||
static void printAnalogChannelInfoExt(const char *name, adc_channel_e hwChannel, float adcVoltage) {
|
||||
#if HAL_USE_ADC || defined(__DOXYGEN__)
|
||||
if (hwChannel == EFI_ADC_NONE) {
|
||||
scheduleMsg(&logger, "ADC is not assigned for %s", name);
|
||||
return;
|
||||
}
|
||||
|
||||
if (fastAdc.isHwUsed(hwChannel)) {
|
||||
scheduleMsg(&logger, "fast enabled=%s", boolToString(boardConfiguration->isFastAdcEnabled));
|
||||
}
|
||||
|
@ -310,9 +315,7 @@ static void printAnalogChannelInfoExt(const char *name, adc_channel_e hwChannel,
|
|||
|
||||
static void printAnalogChannelInfo(const char *name, adc_channel_e hwChannel) {
|
||||
#if HAL_USE_ADC || defined(__DOXYGEN__)
|
||||
if (hwChannel != EFI_ADC_NONE) {
|
||||
printAnalogChannelInfoExt(name, hwChannel, getVoltage("print", hwChannel));
|
||||
}
|
||||
printAnalogChannelInfoExt(name, hwChannel, getVoltage("print", hwChannel));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue