5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-12 02:48:28 -04:00

fixed "Free RAM" display on bootup

This commit is contained in:
Andrew Tridgell 2011-10-28 21:34:10 +11:00
parent 1c72598393
commit 4a92048ef0
3 changed files with 3 additions and 3 deletions
ArduCopter
ArduPlane

View File

@ -82,7 +82,7 @@ static void init_ardupilot()
#endif
Serial.printf_P(PSTR("\n\nInit " THISFIRMWARE
"\n\nFree RAM: %lu\n"),
"\n\nFree RAM: %u\n"),
memcheck_available_memory());

View File

@ -650,7 +650,7 @@ static void Log_Read(int start_page, int end_page)
Serial.printf_P(PSTR((AIRFRAME_NAME)
#endif
Serial.printf_P(PSTR("\n" THISFIRMWARE
"\nFree RAM: %lu\n"),
"\nFree RAM: %u\n"),
memcheck_available_memory());
DataFlash.StartRead(start_page);

View File

@ -79,7 +79,7 @@ static void init_ardupilot()
Serial1.begin(38400, 128, 16);
Serial.printf_P(PSTR("\n\nInit " THISFIRMWARE
"\n\nFree RAM: %lu\n"),
"\n\nFree RAM: %u\n"),
memcheck_available_memory());
//