first mc33810 SPI communication is not happy #6733
huh? stepper was not waiting? improving default parameter value, reusing new default parameter
This commit is contained in:
parent
46962048e7
commit
0ec1f260c1
|
@ -80,7 +80,7 @@ adc_channel_mode_e getAdcMode(adc_channel_e hwChannel);
|
|||
void initAdcInputs();
|
||||
|
||||
// wait until at least 1 slowADC sampling is complete
|
||||
void waitForSlowAdc(uint32_t lastAdcCounter = 0);
|
||||
void waitForSlowAdc(uint32_t lastAdcCounter = 1);
|
||||
|
||||
void printFullAdcReportIfNeeded(void);
|
||||
int getInternalAdcValue(const char *msg, adc_channel_e index);
|
||||
|
|
|
@ -591,7 +591,7 @@ void initHardware() {
|
|||
initAdcInputs();
|
||||
|
||||
// wait for first set of ADC values so that we do not produce invalid sensor data
|
||||
waitForSlowAdc(1);
|
||||
waitForSlowAdc();
|
||||
#endif /* HAL_USE_ADC */
|
||||
|
||||
#if EFI_SOFTWARE_KNOCK
|
||||
|
|
Loading…
Reference in New Issue