Forgot an instance where the PIN path is used

This commit is contained in:
Aurora 2016-09-03 23:07:51 +02:00
parent 7612e38d41
commit 5cd1a207c9

View File

@ -231,7 +231,7 @@ void configMenu(bool oldPinStatus)
configData.config |= (singleOptions[i].enabled ? 1 : 0) << (i + 16);
if(CONFIG(7)) newPin(oldPinStatus);
else if(oldPinStatus) fileDelete("/luma/pin.bin");
else if(oldPinStatus) fileDelete(PIN_PATH);
//Wait for the pressed buttons to change
while(HID_PAD & PIN_BUTTONS);