From 289c4b85d75deb6c39f40ad9b148742f6ea1cbd0 Mon Sep 17 00:00:00 2001 From: Sam Kent Date: Wed, 13 Jun 2018 17:55:56 +0100 Subject: [PATCH] Removed packetNum < packetCount check --- source/bluetooth/MicroBitPartialFlashingService.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/source/bluetooth/MicroBitPartialFlashingService.cpp b/source/bluetooth/MicroBitPartialFlashingService.cpp index df01376..f0d1b3f 100644 --- a/source/bluetooth/MicroBitPartialFlashingService.cpp +++ b/source/bluetooth/MicroBitPartialFlashingService.cpp @@ -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