Revert last 3 commit
This commit is contained in:
@@ -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++;
|
||||||
|
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user