Skip to content

Commit a132cc8

Browse files
committed
[tnfs] add fnTNFS object for dynamic mounting.
1 parent e10cef3 commit a132cc8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

lib/FileSystem/fnFsTNFS.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
#include "fnFsTNFSvfs.h"
99

10+
FileSystemTNFS fnTNFS;
11+
1012
FileSystemTNFS::FileSystemTNFS()
1113
{
1214
// TODO: Maybe allocate space for our TNFS packet so it doesn't have to get put on the stack?

lib/FileSystem/fnFsTNFS.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,6 @@ class FileSystemTNFS : public FileSystem
4040
bool dir_seek(uint16_t) override;
4141
};
4242

43+
extern FileSystemTNFS fnTNFS;
44+
4345
#endif // _FN_FSTNFS_

0 commit comments

Comments
 (0)