mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-13 13:18:59 +08:00
Fix typo in [ESP780] for filesystem usage always reporting / instead of target one
This commit is contained in:
parent
2c1661007d
commit
bb9c670061
@ -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();
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user