mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
Merge branch 'next' of ssh://git.openpilot.org/OpenPilot into next
This commit is contained in:
commit
7a14b761ec
@ -249,7 +249,7 @@ int32_t PIOS_Flash_Jedec_ReadStatus()
|
||||
*/
|
||||
int32_t PIOS_Flash_Jedec_ReadID()
|
||||
{
|
||||
uint8_t out[] = {JEDEC_DEVICE_ID};
|
||||
uint8_t out[] = {JEDEC_DEVICE_ID, 0, 0, 0};
|
||||
uint8_t in[4];
|
||||
if (PIOS_Flash_Jedec_ClaimBus() < 0)
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user