mirror of https://github.com/rusefi/rusefi.git
one more logger ptr
This commit is contained in:
parent
928e76f3e1
commit
a21fb0087d
|
@ -262,7 +262,7 @@ void updateDevConsoleState(void) {
|
|||
#endif /* EFI_PROD_CODE */
|
||||
|
||||
#if HAL_USE_ADC
|
||||
printFullAdcReportIfNeeded(&logger);
|
||||
printFullAdcReportIfNeeded();
|
||||
#endif /* HAL_USE_ADC */
|
||||
|
||||
systime_t nowSeconds = getTimeNowSeconds();
|
||||
|
|
|
@ -323,7 +323,7 @@ static void printAdcValue(int channel) {
|
|||
static uint32_t slowAdcConversionCount = 0;
|
||||
static uint32_t slowAdcErrorsCount = 0;
|
||||
|
||||
static void printFullAdcReport(Logging *logger) {
|
||||
static void printFullAdcReport() {
|
||||
#if EFI_USE_FAST_ADC
|
||||
efiPrintf("fast %d slow %d", fastAdc.conversionCount, slowAdcConversionCount);
|
||||
|
||||
|
@ -541,10 +541,10 @@ void initAdcInputs() {
|
|||
#endif
|
||||
}
|
||||
|
||||
void printFullAdcReportIfNeeded(Logging *logger) {
|
||||
void printFullAdcReportIfNeeded() {
|
||||
if (!adcDebugReporting)
|
||||
return;
|
||||
printFullAdcReport(logger);
|
||||
printFullAdcReport();
|
||||
}
|
||||
|
||||
#else /* not HAL_USE_ADC */
|
||||
|
|
|
@ -49,7 +49,7 @@ int getSlowAdcCounter();
|
|||
|
||||
int getAdcHardwareIndexByInternalIndex(int index);
|
||||
|
||||
void printFullAdcReportIfNeeded(Logging *log);
|
||||
void printFullAdcReportIfNeeded();
|
||||
int getInternalAdcValue(const char *msg, adc_channel_e index);
|
||||
float getMCUInternalTemperature(void);
|
||||
|
||||
|
|
Loading…
Reference in New Issue