AP_FlashStorage: fix for F3 MCUs

This commit is contained in:
Andrew Tridgell 2019-10-31 22:28:10 +11:00
parent db8c682a14
commit 53fe84e88a

View File

@ -39,10 +39,10 @@
#include <AP_HAL/AP_HAL.h> #include <AP_HAL/AP_HAL.h>
#if defined(STM32F1) #if defined(STM32F1) || defined(STM32F3)
/* /*
the STM32F1 can't change individual bits from 1 to 0 unless all bits in the STM32F1 and STM32F3 can't change individual bits from 1 to 0
the 16 bit word are 1 unless all bits in the 16 bit word are 1
*/ */
#define AP_FLASHSTORAGE_MULTI_WRITE 0 #define AP_FLASHSTORAGE_MULTI_WRITE 0
#else #else