1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00

OP-788 reenable transaction lock for pios_jedec_flash.c

This commit is contained in:
Alessio Morale 2013-01-01 17:27:49 +01:00
parent de44495055
commit b317415556

View File

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