Skip to content

Commit 289c4b8

Browse files
committed
Removed packetNum < packetCount check
1 parent ac14383 commit 289c4b8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

source/bluetooth/MicroBitPartialFlashingService.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,6 @@ void MicroBitPartialFlashingService::flashData(uint8_t *data)
179179
// | COMMAND | OFFSET | PACKET# | DATA |
180180
// +-----------+---------+---------+----------+
181181
uint8_t packetNum = data[3];
182-
/**
183-
* Packets with packet num < packet count
184-
* Ignore as part of retransmitted block
185-
*/
186-
if(packetNum < packetCount)
187-
return;
188182

189183
/**
190184
* Check packet count

0 commit comments

Comments
 (0)