one more logger ptr

This commit is contained in:
Matthew Kennedy 2021-04-21 11:35:02 -07:00
parent 928e76f3e1
commit a21fb0087d
3 changed files with 5 additions and 5 deletions

View File

@ -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();

View File

@ -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 */

View File

@ -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);