mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-10 18:24:11 +01:00
a7029baa32
When reading the jedec device id the code only transfered one byte via spi leaving the expected input buffer uninitialized. This may lead to the problem that flash initialization fails because the expected input may be whatever the stack was set when entering the function. The impact of the bug is somewhat limited tough as the initialization usually takes place before starting up the rtos and thus is pretty deterministic. So if the code passed init while testing it should pass init in production as well. |
||
---|---|---|
.. | ||
Boards | ||
Common | ||
inc | ||
STM32F4xx | ||
STM32F10x | ||
pios.h |