Fix comment
This commit is contained in:
parent
83a849126a
commit
7ab59e420a
@ -158,11 +158,10 @@ void main(void)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* If L and R/A/Select or one of the single payload buttons are pressed,
|
|
||||||
chainload an external payload (the PIN, if any, has been verified)*/
|
|
||||||
|
|
||||||
if(CONFIG(6) && loadSplash()) pressed = HID_PAD;
|
if(CONFIG(6) && loadSplash()) pressed = HID_PAD;
|
||||||
|
|
||||||
|
/* If L and R/A/Select or one of the single payload buttons are pressed,
|
||||||
|
chainload an external payload (the PIN, if any, has been verified)*/
|
||||||
bool shouldLoadPayload = (pressed & SINGLE_PAYLOAD_BUTTONS) || ((pressed & BUTTON_L1) && (pressed & L_PAYLOAD_BUTTONS));
|
bool shouldLoadPayload = (pressed & SINGLE_PAYLOAD_BUTTONS) || ((pressed & BUTTON_L1) && (pressed & L_PAYLOAD_BUTTONS));
|
||||||
|
|
||||||
if(shouldLoadPayload) loadPayload(pressed);
|
if(shouldLoadPayload) loadPayload(pressed);
|
||||||
|
Reference in New Issue
Block a user