This commit is contained in:
2017-04-07 21:23:31 -05:00
parent 5a04162bbd
commit a3f5af23fe
-13
View File
@@ -52,14 +52,6 @@ class FileStore {
*/
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.
* @param id the id of the file
@@ -228,11 +220,6 @@ void FileStore<FsSize_t>::resize() {
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>
int FileStore<FsSize_t>::write(InodeId_t id, void *data, FsSize_t dataLen, uint8_t fileType) {
auto retval = 1;