Common/FatFsUtil: Add callback for cancelling SD card conversion.

This commit is contained in:
Admiral H. Curtiss
2023-02-26 20:18:37 +01:00
parent 73aaa01648
commit 435d8c39ee
5 changed files with 34 additions and 18 deletions

View File

@ -9,8 +9,8 @@
namespace Common
{
bool SyncSDFolderToSDImage(bool deterministic);
bool SyncSDImageToSDFolder();
bool SyncSDFolderToSDImage(const std::function<bool()>& cancelled, bool deterministic);
bool SyncSDImageToSDFolder(const std::function<bool()>& cancelled);
class FatFsCallbacks
{