mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 20:09:07 +08:00
Flash programing on the K66 has to be units of 8 bytes. So we cache the write of words until there are 2 written. Then the 2 words are written to FLASH. This change ensure the bin file has an even number of (4 byte) words by padding the last section in progflash with 0xffffffff if needed.