feat(radio): static disk cache (#6170)

This commit is contained in:
Raphael Coeffic
2025-05-08 20:44:33 +10:00
committed by GitHub
parent a651f2e297
commit 83feee4d45
5 changed files with 27 additions and 3 deletions
+5
View File
@@ -24,8 +24,13 @@
#include "hal/fatfs_diskio.h"
// tunable parameters
#if !defined(DISK_CACHE_BLOCKS_NUM)
#define DISK_CACHE_BLOCKS_NUM 32 // no cache blocks
#endif
#if !defined(DISK_CACHE_BLOCK_SECTORS)
#define DISK_CACHE_BLOCK_SECTORS 16 // no sectors
#endif
struct DiskCacheStats
{