Improve Air Copy and enable restart
This commit is contained in:
@@ -64,7 +64,8 @@ bool AIRCOPY_SendMessage(void)
|
||||
}
|
||||
|
||||
if (++gAirCopyBlockNumber >= 0x78) {
|
||||
gAircopyState = AIRCOPY_COMPLETE;
|
||||
gAircopyState = AIRCOPY_READY;
|
||||
//gAircopyState = AIRCOPY_COMPLETE;
|
||||
//NVIC_SystemReset();
|
||||
}
|
||||
|
||||
@@ -122,7 +123,8 @@ void AIRCOPY_StorePacket(void)
|
||||
}
|
||||
|
||||
if (Offset == 0x1E00) {
|
||||
gAircopyState = AIRCOPY_COMPLETE;
|
||||
gAircopyState = AIRCOPY_READY;
|
||||
//gAircopyState = AIRCOPY_COMPLETE;
|
||||
}
|
||||
|
||||
gAirCopyBlockNumber++;
|
||||
|
Reference in New Issue
Block a user