chore(radio): add LTO option for complete firmware to reduce X9D+2019 size (#7255)
This commit is contained in:
@@ -447,8 +447,8 @@ uint32_t sdGetSize()
|
||||
|
||||
uint32_t sdGetFreeSectors()
|
||||
{
|
||||
DWORD nofree;
|
||||
FATFS * fat;
|
||||
DWORD nofree = 0;
|
||||
FATFS * fat = nullptr;
|
||||
if (f_getfree("", &nofree, &fat) != FR_OK) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user