px4_manifest: add function declaration for get base EEPROM mtd

mtd_manifest:Make it C callable
This commit is contained in:
Igor Mišić
2022-05-03 12:10:13 -07:00
committed by David Sidrane
parent 0aa6ae473b
commit 0d414de38c
3 changed files with 15 additions and 2 deletions
@@ -100,7 +100,7 @@ __EXPORT int px4_mft_query(const px4_mft_s *mft, px4_manifest_types_e type,
if (mft->mfts[m]->type == type)
switch (type) {
case MTD:
return px4_mtd_query(sub, val);
return px4_mtd_query(sub, val, nullptr);
break;
case MFT: