chore: SDIO conversion to HAL (#3182)
This commit is contained in:
@@ -246,9 +246,6 @@ enum RotaryEncoderMode {
|
||||
#define CASE_JACK_DETECT(x)
|
||||
#endif
|
||||
|
||||
#if defined(DISK_CACHE)
|
||||
#include "disk_cache.h"
|
||||
#endif
|
||||
|
||||
#include "debug.h"
|
||||
|
||||
@@ -1052,10 +1049,6 @@ inline bool IS_TXBATT_WARNING()
|
||||
return g_vbat100mV <= g_eeGeneral.vBatWarn;
|
||||
}
|
||||
|
||||
inline bool IS_SDCARD_FULL() {
|
||||
return sdGetFreeSectors() < ((50 *1024*1024) / BLOCK_SIZE); // 50MB safety margin
|
||||
}
|
||||
|
||||
enum TelemetryViews {
|
||||
TELEMETRY_CUSTOM_SCREEN_1,
|
||||
TELEMETRY_CUSTOM_SCREEN_2,
|
||||
|
||||
Reference in New Issue
Block a user