Adding sectorsize() and numSectors() to SD (#6457)

* Update SD.h

* Added numSectors() and sectorSize()
This commit is contained in:
tobozo
2022-03-28 10:46:15 +02:00
committed by GitHub
parent 7b89b39e10
commit 528c071299
2 changed files with 18 additions and 0 deletions

View File

@ -32,6 +32,8 @@ public:
void end();
sdcard_type_t cardType();
uint64_t cardSize();
size_t numSectors();
size_t sectorSize();
uint64_t totalBytes();
uint64_t usedBytes();
bool readRAW(uint8_t* buffer, uint32_t sector);