feat(radio): static disk cache (#6170)
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user