Save 52 bytes
This commit is contained in:
@@ -276,8 +276,10 @@ static void CMD_051B(const uint8_t *pBuffer)
|
||||
Reply.Data.Offset = pCmd->Offset;
|
||||
Reply.Data.Size = pCmd->Size;
|
||||
|
||||
/*
|
||||
if (bHasCustomAesKey)
|
||||
bLocked = gIsLocked;
|
||||
*/
|
||||
|
||||
if (!bLocked)
|
||||
EEPROM_ReadBuffer(pCmd->Offset, Reply.Data.Data, pCmd->Size);
|
||||
@@ -374,8 +376,10 @@ static void CMD_052D(const uint8_t *pBuffer)
|
||||
|
||||
bIsLocked = bHasCustomAesKey;
|
||||
|
||||
/*
|
||||
if (!bIsLocked)
|
||||
bIsLocked = IsBadChallenge(gCustomAesKey, gChallenge, pCmd->Response);
|
||||
*/
|
||||
|
||||
if (!bIsLocked)
|
||||
{
|
||||
|
Reference in New Issue
Block a user