"Burn without flash" button #3127

This commit is contained in:
rusefillc 2021-08-10 07:29:55 -04:00
parent 8fc03e17b2
commit a983f6029f
1 changed files with 2 additions and 0 deletions

View File

@ -393,8 +393,10 @@ static void handleCommandX14(uint16_t index) {
#endif #endif
return; return;
case 0x15: case 0x15:
#if EFI_PROD_CODE
extern bool burnWithoutFlash; extern bool burnWithoutFlash;
burnWithoutFlash = true; burnWithoutFlash = true;
#endif // EFI_PROD_CODE
return; return;
default: default:
firmwareError(OBD_PCM_Processor_Fault, "Unexpected bench x14 %d", index); firmwareError(OBD_PCM_Processor_Fault, "Unexpected bench x14 %d", index);