mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-13 04:20:35 +08:00
Improvement when params are corrupted
This commit is contained in:
@@ -85,10 +85,16 @@ __EXPORT int px4_mtd_unmount_littlefs_mount_block_device(void);
|
||||
|
||||
/*
|
||||
Helper function for transition to LittleFS.
|
||||
It will unmount MTD for parameters with Block Device and mount LittleFS with auto formatting
|
||||
It will unmount MTD for parameters with Block Device and mount LittleFS with force formatting
|
||||
*/
|
||||
__EXPORT int px4_mtd_unmount_block_device_mount_littlefs(void);
|
||||
|
||||
/*
|
||||
Helper function for transition to LittleFS.
|
||||
It will force formatting to LittleFS
|
||||
*/
|
||||
__EXPORT int px4_mtd_forceformat_littlefs(void);
|
||||
|
||||
int px4_at24c_initialize(FAR struct i2c_master_s *dev,
|
||||
uint8_t address, FAR struct mtd_dev_s **mtd_dev);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user