nn/temp: Fix TEMPTargetPreference

This commit is contained in:
GaryOderNichts 2024-03-25 09:14:30 +01:00
parent 9fda122476
commit 20ef19297e

View File

@ -9,8 +9,10 @@ extern "C" {
typedef enum TEMPTargetPreference
{
TEMP_PREF_DEFAULT = 0,
TEMP_PREF_INTERNAL_STORAGE = 1,
//! Use whichever target has more available space
TEMP_PREF_DEFAULT = 0,
//! Always prefer USB
TEMP_PREF_USB = 1,
} TEMPTargetPreference;
typedef uint64_t TEMPDirId;
@ -22,7 +24,7 @@ void
TEMPShutdown();
FSStatus
TEMPCreateAndInitTempDir(uint32_t size,
TEMPCreateAndInitTempDir(uint32_t maxSize,
TEMPTargetPreference pref,
TEMPDirId *outDir);