adc cleanup

This commit is contained in:
Matthew Kennedy 2024-07-21 13:22:28 -07:00
parent 591b8446fe
commit aeec11078c
2 changed files with 2 additions and 3 deletions

View File

@ -2046,12 +2046,12 @@ enum class ObdCode : uint16_t {
CUSTOM_ERR_6669 = 6669,
CUSTOM_ERR_6670 = 6670,
CUSTOM_STACK_ADC_6671 = 6671,
CUSTOM_ERR_6671 = 6671,
CUSTOM_ERR_6672 = 6672,
CUSTOM_ERR_6673 = 6673,
CUSTOM_STACK_SPI = 6674,
CUSTOM_VVT_SYNC_POSITION = 6675,
CUSTOM_STACK_ADC = 6676,
CUSTOM_ERR_6676 = 6676,
CUSTOM_IH_STACK = 6677,
CUSTOM_ERR_6678 = 6678,
CUSTOM_ERR6679 = 6679,

View File

@ -181,7 +181,6 @@ void onFastAdcComplete(adcsample_t*) {
/**
* this callback is executed 10 000 times a second, it needs to be as fast as possible
*/
efiAssertVoid(ObdCode::CUSTOM_STACK_ADC, getCurrentRemainingStack() > 128, "lowstck#9b");
#if EFI_SENSOR_CHART && EFI_SHAFT_POSITION_INPUT
if (getEngineState()->sensorChartMode == SC_AUX_FAST1) {