Browse Source

Nuttx changed CONFIG_DRAM_SIZE to CONFIG_RAM_SIZE

sbg
David Sidrane 8 years ago committed by Lorenz Meier
parent
commit
ff0e810b55
  1. 2
      src/modules/load_mon/load_mon.cpp

2
src/modules/load_mon/load_mon.cpp

@ -240,7 +240,7 @@ float LoadMon::_ram_used() @@ -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;
}

Loading…
Cancel
Save