mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-23 00:58:37 -04:00
Quaternion: show "Quaternion test" on startup if enabled
This commit is contained in:
parent
2a8b167d95
commit
7a9b3d3388
@ -1162,6 +1162,9 @@ static void report_gps()
|
|||||||
static void report_version()
|
static void report_version()
|
||||||
{
|
{
|
||||||
Serial.printf_P(PSTR("FW Ver: %d\n"),(int)g.format_version.get());
|
Serial.printf_P(PSTR("FW Ver: %d\n"),(int)g.format_version.get());
|
||||||
|
#if QUATERNION_ENABLE == ENABLED
|
||||||
|
Serial.printf_P(PSTR("Quaternion test\n"));
|
||||||
|
#endif
|
||||||
print_divider();
|
print_divider();
|
||||||
print_blanks(2);
|
print_blanks(2);
|
||||||
}
|
}
|
||||||
|
@ -103,6 +103,10 @@ static void init_ardupilot()
|
|||||||
"\n\nFree RAM: %u\n"),
|
"\n\nFree RAM: %u\n"),
|
||||||
memcheck_available_memory());
|
memcheck_available_memory());
|
||||||
|
|
||||||
|
#if QUATERNION_ENABLE == ENABLED
|
||||||
|
Serial.printf_P(PSTR("Quaternion test\n"));
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// Initialize Wire and SPI libraries
|
// Initialize Wire and SPI libraries
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user