trigger_input_comp is now ready for unused-vars
This commit is contained in:
parent
0e226e77a5
commit
525d8355b3
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue