mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_FlashStorage: fix for F3 MCUs
This commit is contained in:
parent
db8c682a14
commit
53fe84e88a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user