Fix comment

This commit is contained in:
Aurora 2016-08-15 13:28:43 +02:00
parent 83a849126a
commit 7ab59e420a

View File

@ -157,12 +157,11 @@ void main(void)
firmSource = FIRMWARE_SYSNAND; firmSource = FIRMWARE_SYSNAND;
} }
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);