Skip to content

Commit

Permalink
[GH#539] GPIOInterruptManager: Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
MarWit committed Nov 24, 2023
1 parent 6dd79a5 commit f3de75a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,21 +94,21 @@ public void RefreshInterrupts()
irqState |= !InterruptMask[i];
activeInterrupts[i] = true;
}
break;
break;
case InterruptTrigger.FallingEdge:
if(isEdge && !underlyingState[i])
{
irqState |= !InterruptMask[i];
activeInterrupts[i] = true;
}
break;
break;
case InterruptTrigger.BothEdges:
if(isEdge)
{
irqState |= !InterruptMask[i];
activeInterrupts[i] = true;
}
break;
break;
}
}
Array.Copy(underlyingState, previousState, underlyingState.Length);
Expand Down

0 comments on commit f3de75a

Please sign in to comment.