huge work on FAT32, initial support for writing
This commit is contained in:
@@ -7,13 +7,15 @@ class File {
|
||||
uint32_t totalSize;
|
||||
|
||||
uint32_t curAbsPos = 0; // position withithin the whole file
|
||||
uint32_t curCluster = 0; // cluster we are currently reading
|
||||
ClusterNr curCluster = 0; // cluster we are currently reading
|
||||
uint32_t posInCluster = 0; // position within the current cluster
|
||||
|
||||
|
||||
|
||||
|
||||
public:
|
||||
|
||||
File(FS& fs, uint32_t size, uint32_t firstCluster) : fs(fs), totalSize(size), curCluster(firstCluster) {
|
||||
File(FS& fs, uint32_t size, ClusterNr firstCluster) : fs(fs), totalSize(size), curCluster(firstCluster) {
|
||||
Log::addInfo(NAME, "init @ cluster %d", firstCluster);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user