Fix typo in [ESP780] for filesystem usage always reporting / instead of target one

This commit is contained in:
Luc 2024-02-11 08:21:32 +08:00
parent 2c1661007d
commit bb9c670061
3 changed files with 5 additions and 5 deletions

View File

@ -80,9 +80,9 @@ void ESP3DCommands::ESP780(int cmd_params_pos, ESP3DMessage* msg) {
if (!hasError) {
uint nbDirs = 0;
uint nbFiles = 0;
size_t totalSpace = ESP_GBFS::totalBytes();
size_t usedSpace = ESP_GBFS::usedBytes();
size_t freeSpace = ESP_GBFS::freeBytes();
size_t totalSpace = ESP_GBFS::totalBytes(fsType);
size_t usedSpace = ESP_GBFS::usedBytes(fsType);
size_t freeSpace = ESP_GBFS::freeBytes(fsType);
ESP_GBFile sub;
sub = f.openNextFile();

View File

@ -194,5 +194,5 @@
#error SD_UPDATE_FEATURE is not available because SD_DEVICE is not enabled
#endif
#endif // ESP_NO_SANITY_CHECK
#endif // SANITY_CHECK

View File

@ -22,7 +22,7 @@
#define _VERSION_ESP3D_H
// version and sources location
#define FW_VERSION "3.0.0.a228"
#define FW_VERSION "3.0.0.a229"
#define REPOSITORY "https://github.com/luc-github/ESP3D/tree/3.0"
#endif //_VERSION_ESP3D_H