Nuttx changed CONFIG_DRAM_SIZE to CONFIG_RAM_SIZE

This commit is contained in:
David Sidrane
2016-12-12 15:04:44 -10:00
committed by Lorenz Meier
parent b6362ed87c
commit ff0e810b55

View File

@@ -240,7 +240,7 @@ float LoadMon::_ram_used()
float load = (float)mem.uordblks / mem.arena;
// Check for corruption of the allocation counters
if ((mem.arena > CONFIG_DRAM_SIZE) || (mem.fordblks > CONFIG_DRAM_SIZE)) {
if ((mem.arena > CONFIG_RAM_SIZE) || (mem.fordblks > CONFIG_RAM_SIZE)) {
load = 1.0f;
}