From 1dcfb7e7f847afaf4dce871b6b7a61ba6857b8cf Mon Sep 17 00:00:00 2001 From: rusefi Date: Wed, 26 Dec 2018 20:27:24 -0500 Subject: [PATCH] minor clean-up --- firmware/hw_layer/hardware.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/firmware/hw_layer/hardware.cpp b/firmware/hw_layer/hardware.cpp index db95a5ba3f..c756f36982 100644 --- a/firmware/hw_layer/hardware.cpp +++ b/firmware/hw_layer/hardware.cpp @@ -177,7 +177,6 @@ extern int tpsFastAdc; * This method is not in the adc* lower-level file because it is more business logic then hardware. */ void adc_callback_fast(ADCDriver *adcp, adcsample_t *buffer, size_t n) { - efiAssertVoid(CUSTOM_ERR_6675, getRemainingStack(chThdGetSelfX()) > 64, "lowstck12a"); (void) buffer; (void) n; @@ -199,9 +198,9 @@ void adc_callback_fast(ADCDriver *adcp, adcsample_t *buffer, size_t n) { hipAdcCallback(fastAdc.samples[hipSampleIndex]); } #endif - if (tpsSampleIndex != TPS_IS_SLOW) { +// if (tpsSampleIndex != TPS_IS_SLOW) { // tpsFastAdc = fastAdc.samples[tpsSampleIndex]; - } +// } } }