mirror of
https://github.com/0xFEEDC0DE64/arduino-esp32.git
synced 2025-07-16 03:52:07 +02:00
allow the examples to build in a more strict env (#3299)
This commit is contained in:
@ -165,8 +165,8 @@ void setup(){
|
||||
return;
|
||||
}
|
||||
|
||||
Serial.printf("Total space: %10lu\n", FFat.totalBytes());
|
||||
Serial.printf("Free space: %10lu\n", FFat.freeBytes());
|
||||
Serial.printf("Total space: %10u\n", FFat.totalBytes());
|
||||
Serial.printf("Free space: %10u\n", FFat.freeBytes());
|
||||
listDir(FFat, "/", 0);
|
||||
writeFile(FFat, "/hello.txt", "Hello ");
|
||||
appendFile(FFat, "/hello.txt", "World!\r\n");
|
||||
@ -175,7 +175,7 @@ void setup(){
|
||||
readFile(FFat, "/foo.txt");
|
||||
deleteFile(FFat, "/foo.txt");
|
||||
testFileIO(FFat, "/test.txt");
|
||||
Serial.printf("Free space: %10lu\n", FFat.freeBytes());
|
||||
Serial.printf("Free space: %10u\n", FFat.freeBytes());
|
||||
deleteFile(FFat, "/test.txt");
|
||||
Serial.println( "Test complete" );
|
||||
}
|
||||
|
Reference in New Issue
Block a user