Removed packetNum < packetCount check

This commit is contained in:
Sam Kent 2018-06-13 17:55:56 +01:00
parent ac14383c28
commit 289c4b85d7
1 changed files with 0 additions and 6 deletions

View File

@ -179,12 +179,6 @@ void MicroBitPartialFlashingService::flashData(uint8_t *data)
// | COMMAND | OFFSET | PACKET# | DATA |
// +-----------+---------+---------+----------+
uint8_t packetNum = data[3];
/**
* Packets with packet num < packet count
* Ignore as part of retransmitted block
*/
if(packetNum < packetCount)
return;
/**
* Check packet count