Revert last 3 commit

This commit is contained in:
Armel FAUVEAU
2024-08-14 00:05:22 +02:00
parent 7340e6cdc5
commit cb4b622a2a
2 changed files with 2 additions and 9 deletions

View File

@@ -64,8 +64,7 @@ bool AIRCOPY_SendMessage(void)
} }
if (++gAirCopyBlockNumber >= 0x78) { if (++gAirCopyBlockNumber >= 0x78) {
gAircopyState = AIRCOPY_READY; gAircopyState = AIRCOPY_COMPLETE;
//gAircopyState = AIRCOPY_COMPLETE;
//NVIC_SystemReset(); //NVIC_SystemReset();
} }
@@ -123,8 +122,7 @@ void AIRCOPY_StorePacket(void)
} }
if (Offset == 0x1E00) { if (Offset == 0x1E00) {
gAircopyState = AIRCOPY_READY; gAircopyState = AIRCOPY_COMPLETE;
//gAircopyState = AIRCOPY_COMPLETE;
} }
gAirCopyBlockNumber++; gAirCopyBlockNumber++;

View File

@@ -47,11 +47,6 @@ void UI_DisplayAircopy(void)
if (gAircopyState == AIRCOPY_READY) { if (gAircopyState == AIRCOPY_READY) {
pPrintStr = "AIR COPY(RDY)"; pPrintStr = "AIR COPY(RDY)";
lErrorsDuringAirCopy = 0;
for(uint8_t i = 0; i < 15; i++)
{
crc[i] = 0;
}
} else if (gAircopyState == AIRCOPY_TRANSFER) { } else if (gAircopyState == AIRCOPY_TRANSFER) {
pPrintStr = "AIR COPY"; pPrintStr = "AIR COPY";
} else { } else {