[stock] Only 16bits needed for calculating free EEPROM

[stock] Vario makes the system reboot. To be tested!
[all] Mixer contextual menu adjustments
This commit is contained in:
bsongis@gmail.com
2013-03-28 20:33:51 +00:00
parent 6686c75206
commit 8132f530d9
3 changed files with 19 additions and 5 deletions
+4
View File
@@ -162,7 +162,11 @@ static void EeFsFlush()
uint16_t EeFsGetFree()
{
#if defined(CPUARM)
int32_t ret = 0;
#else
int16_t ret = 0;
#endif
blkid_t i = eeFs.freeList;
while (i) {
ret += BS-1;