mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-02 23:10:38 +08:00
Update sd_sdfat_esp32.cpp
remove ;
This commit is contained in:
parent
bfa45aba9f
commit
fff899bd10
@ -151,7 +151,7 @@ uint64_t ESP_SD::freeBytes()
|
|||||||
// constants for file system structure
|
// constants for file system structure
|
||||||
#define BU16 128
|
#define BU16 128
|
||||||
#define BU32 8192
|
#define BU32 8192
|
||||||
#define ERASE_SIZE 262144L;
|
#define ERASE_SIZE 262144L
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// write cached block to the card
|
// write cached block to the card
|
||||||
@ -473,7 +473,7 @@ bool makeFat32(uint32_t & dataStart, Sd2Card & card, cache_t & cache, uint8_t nu
|
|||||||
bool eraseCard(Sd2Card & card, cache_t & cache, uint32_t cardSizeBlocks, ESP3DOutput * output)
|
bool eraseCard(Sd2Card & card, cache_t & cache, uint32_t cardSizeBlocks, ESP3DOutput * output)
|
||||||
{
|
{
|
||||||
uint32_t firstBlock = 0;
|
uint32_t firstBlock = 0;
|
||||||
uint32_t lastBlock;
|
uint32_t lastBlock = 0;
|
||||||
//uint16_t n = 0;
|
//uint16_t n = 0;
|
||||||
if (output) {
|
if (output) {
|
||||||
output->printMSG("Erasing ", false);
|
output->printMSG("Erasing ", false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user