unused parameters

This commit is contained in:
Matthew Kennedy 2024-01-06 21:31:18 -05:00 committed by rusefillc
parent 81831abb97
commit 3315aa9434
2 changed files with 11 additions and 10 deletions

View File

@ -383,8 +383,7 @@ public:
}
};
void addChannel(const char *name, adc_channel_e setting, adc_channel_mode_e mode) {
(void)name;
void addChannel(const char* /*name*/, adc_channel_e setting, adc_channel_mode_e mode) {
if (!isAdcChannelValid(setting)) {
return;
}

View File

@ -247,6 +247,8 @@ void TriggerAdcDetector::digitalCallback(efitick_t stamp, bool isPrimary, bool r
return;
}
UNUSED(isPrimary);
onTriggerChanged(stamp, isPrimary, rise);
#if (HAL_TRIGGER_USE_ADC && HAL_USE_ADC) || EFI_UNIT_TEST