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:
parent
d628bc6dcd
commit
5f29eed017
5 changed files with 25 additions and 30 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue