Cleanup
This commit is contained in:
@@ -52,14 +52,6 @@ class FileStore {
|
|||||||
*/
|
*/
|
||||||
void resize();
|
void resize();
|
||||||
|
|
||||||
/**
|
|
||||||
* Writes the given data to a "file" with the given id.
|
|
||||||
* @param id the id of the file
|
|
||||||
* @param data the contents of the file
|
|
||||||
* @param dataLen the number of bytes data points to
|
|
||||||
*/
|
|
||||||
int write(void *data, FsSize_t dataLen, uint8_t fileType = 0);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Writes the given data to a "file" with the given id.
|
* Writes the given data to a "file" with the given id.
|
||||||
* @param id the id of the file
|
* @param id the id of the file
|
||||||
@@ -228,11 +220,6 @@ void FileStore<FsSize_t>::resize() {
|
|||||||
m_size = ptr(last) + last->size();
|
m_size = ptr(last) + last->size();
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename FsSize_t>
|
|
||||||
int FileStore<FsSize_t>::write(void *data, FsSize_t dataLen, uint8_t fileType) {
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
template<typename FsSize_t>
|
template<typename FsSize_t>
|
||||||
int FileStore<FsSize_t>::write(InodeId_t id, void *data, FsSize_t dataLen, uint8_t fileType) {
|
int FileStore<FsSize_t>::write(InodeId_t id, void *data, FsSize_t dataLen, uint8_t fileType) {
|
||||||
auto retval = 1;
|
auto retval = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user