AP_FlashStorage: support L496 MCUs

This commit is contained in:
Andrew Tridgell 2021-09-19 16:37:29 +10:00
parent 0212e23cd3
commit ca45fcbc70
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@
STM32H7 can only write in 32 byte chunks, and must only write when all bits are 1
*/
#define AP_FLASHSTORAGE_TYPE AP_FLASHSTORAGE_TYPE_H7
#elif defined(STM32G4)
#elif defined(STM32G4) || defined(STM32L4)
/*
STM32G4 can only write in 8 byte chunks, and must only write when all bits are 1
*/