mirror of https://github.com/rusefi/ChibiOS.git
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@16674 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
44c30bc4e4
commit
b28eb7bff6
|
@ -112,8 +112,8 @@
|
|||
<param name="name" ctype="const char *" dir="in"><![CDATA[Name to
|
||||
be assigned to the volume, see LittleFS @p f_mount() documentation
|
||||
because there are several options.]]></param>
|
||||
<param name="mountnow" ctype="bool" dir="in"> Immediate mount option.
|
||||
</param>
|
||||
<param name="config" ctype="const struct lfsdrvMount *" dir="in">
|
||||
LFS configuration for the mounted file system.</param>
|
||||
<return>The operation result.</return>
|
||||
<api />
|
||||
<implementation><![CDATA[
|
||||
|
@ -121,9 +121,8 @@
|
|||
</function>
|
||||
<function name="lfsdrvUnmount" ctype="msg_t">
|
||||
<brief>Unmounts a LittleFS volume.</brief>
|
||||
<param name="name" ctype="const char *" dir="in"> Name of the volume to
|
||||
be unmounted.
|
||||
</param>
|
||||
<param name="name" ctype="const char *" dir="in">Name of the volume to
|
||||
be unmounted.</param>
|
||||
<return>The operation result.</return>
|
||||
<api />
|
||||
<implementation><![CDATA[
|
||||
|
@ -199,10 +198,10 @@ self = __vfsdir_objinit_impl(ip, vmt, (vfs_driver_c *)driver, mode);]]></impleme
|
|||
</fields>
|
||||
<methods>
|
||||
<objinit callsuper="false">
|
||||
<param name="driver" ctype="vfs_driver_c *" dir="in"> Pointer to
|
||||
<param name="driver" ctype="vfs_driver_c *" dir="in">Pointer to
|
||||
the controlling driver.
|
||||
</param>
|
||||
<param name="mode" ctype="vfs_mode_t" dir="in"> Node mode flags.
|
||||
<param name="mode" ctype="vfs_mode_t" dir="in">Node mode flags.
|
||||
</param>
|
||||
<implementation><![CDATA[
|
||||
self = __vfsfile_objinit_impl(ip, vmt, (vfs_driver_c *)driver, mode);]]></implementation>
|
||||
|
|
|
@ -161,7 +161,7 @@ extern "C" {
|
|||
msg_t __lfsdrv_rmdir_impl(void *ip, const char *path);
|
||||
/* Regular functions.*/
|
||||
void __drv_littlefs_init(void);
|
||||
msg_t lfsdrvMount(const char *name, bool mountnow);
|
||||
msg_t lfsdrvMount(const char *name, const struct lfsdrvMount *config);
|
||||
msg_t lfsdrvUnmount(const char *name);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -64,12 +64,12 @@ void __drv_littlefs_init(void) {
|
|||
* @param[in] name Name to be assigned to the volume, see LittleFS
|
||||
* @p f_mount() documentation because there are
|
||||
* several options.
|
||||
* @param[in] mountnow Immediate mount option.
|
||||
* @param[in] config LFS configuration for the mounted file system.
|
||||
* @return The operation result.
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
msg_t lfsdrvMount(const char *name, bool mountnow) {
|
||||
msg_t lfsdrvMount(const char *name, const struct lfsdrvMount *config) {
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue