trigger_input_comp is now ready for unused-vars

This commit is contained in:
andreika-git 2023-11-03 19:53:39 +02:00 committed by rusefillc
parent 0e226e77a5
commit 525d8355b3
1 changed files with 0 additions and 1 deletions

View File

@ -52,7 +52,6 @@ static void comp_shaft_callback(COMPDriver *comp) {
uint32_t status = comp_lld_get_status(comp);
int isPrimary = (comp == EFI_COMP_PRIMARY_DEVICE);
trigger_event_e signal;
if (status & COMP_IRQ_RISING) {
hwHandleShaftSignal(isPrimary ? 0 : 1, true, stamp);
// shift the threshold down a little bit to avoid false-triggering (threshold hysteresis)