1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Minor fix for flushing behaviour on dataflash

This commit is contained in:
Nicholas Sherlock 2015-02-16 22:20:53 +13:00
parent d628bc6dcd
commit 5f29eed017
5 changed files with 25 additions and 30 deletions

View file

@ -278,6 +278,11 @@ int m25p16_readBytes(uint32_t address, uint8_t *buffer, int length)
return length;
}
/**
* Fetch information about the detected flash chip layout.
*
* Can be called before calling m25p16_init() (the result would have totalSize = 0).
*/
const flashGeometry_t* m25p16_getGeometry()
{
return &geometry;