Removed unnecessary cast.
This commit is contained in:
parent
2627826cb7
commit
77f0e106f6
|
@ -387,7 +387,7 @@ static void serializeDataflashReadReply(sbuf_t *dst, uint32_t address, const uin
|
||||||
|
|
||||||
if (!useLegacyFormat) {
|
if (!useLegacyFormat) {
|
||||||
// update the 'read length' with the actual amount read from flash.
|
// update the 'read length' with the actual amount read from flash.
|
||||||
*readLenPtr = (uint16_t)bytesRead;
|
*readLenPtr = bytesRead;
|
||||||
}
|
}
|
||||||
|
|
||||||
sbufAdvance(dst, bytesRead);
|
sbufAdvance(dst, bytesRead);
|
||||||
|
|
Loading…
Reference in New Issue