mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-10 18:24:11 +01:00
OP-788 reenable transaction lock for pios_jedec_flash.c
This commit is contained in:
parent
de44495055
commit
b317415556
@ -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()
|
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;
|
||||||
@ -213,7 +212,6 @@ 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;
|
||||||
|
Loading…
Reference in New Issue
Block a user