mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 04:15:44 +03:00
Removed unnecessary cast.
This commit is contained in:
parent
2627826cb7
commit
77f0e106f6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue