1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-05 21:52:10 +01:00

TOFIX: Temporarily remove the transaction lock from the settings as it was causing a deadlock with the radio coms.

This commit is contained in:
James Cotton 2012-08-26 05:02:14 -05:00
parent 042055b29a
commit b888a137f0

View File

@ -196,6 +196,7 @@ int32_t PIOS_Flash_Jedec_Init(uint32_t spi_id, uint32_t slave_num, const struct
*/ */
int32_t PIOS_Flash_Jedec_StartTransaction() int32_t PIOS_Flash_Jedec_StartTransaction()
{ {
return 0;
#if defined(FLASH_FREERTOS) #if defined(FLASH_FREERTOS)
if(PIOS_Flash_Jedec_Validate(flash_dev) != 0) if(PIOS_Flash_Jedec_Validate(flash_dev) != 0)
return -1; return -1;
@ -212,6 +213,7 @@ int32_t PIOS_Flash_Jedec_StartTransaction()
*/ */
int32_t PIOS_Flash_Jedec_EndTransaction() int32_t PIOS_Flash_Jedec_EndTransaction()
{ {
return 0;
#if defined(FLASH_FREERTOS) #if defined(FLASH_FREERTOS)
if(PIOS_Flash_Jedec_Validate(flash_dev) != 0) if(PIOS_Flash_Jedec_Validate(flash_dev) != 0)
return -1; return -1;