Check timelapse storage space before sending a print

This commit is contained in:
SoftFever
2026-07-16 17:52:28 +08:00
parent ffda4282eb
commit 615deefa87
8 changed files with 384 additions and 5 deletions

View File

@@ -28,9 +28,16 @@ public:
static void ParseV1_0(const json &print_json, DevStorage *system);
bool is_timelapse_storage_low(const std::string& storage) const;
private:
MachineObject *m_owner;
SdcardState m_sdcard_state { NO_SDCARD };
// timelapse storage space info (from device push cam data)
int tl_internal_free_kb { -1 };
int tl_internal_total_kb { -1 };
int tl_external_free_kb { -1 };
int tl_external_total_kb { -1 };
};
} // namespace Slic3r