1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-21 06:52:11 +01:00
lilvinz a7029baa32 pios_jedec: fixed usage of uninitialized memory
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.
2012-11-11 00:31:07 +02:00
..
2012-08-03 09:37:46 -05:00
2012-05-05 09:40:44 -07:00