mirror of
https://github.com/apache/nuttx.git
synced 2025-12-09 19:54:55 +08:00
Changing readingbitmap from bool to int, initializing it to the number of bitmaps allocated, decrementing it each time a bitmap is consumed, and using it as the termination condition for the while loop, ensures that loop termination does not depend on data from the file. Note: Patch provided by Nathan Hartman. Signed-off-by: Tomasz 'CeDeROM' CEDRO <tomek@cedro.info>
20 KiB
20 KiB