AP_Scheduler: Emit last internal error line

This commit is contained in:
Michael du Breuil 2020-10-09 11:55:17 -07:00 committed by Andrew Tridgell
parent 25ca2a0828
commit 0f5179d204
1 changed files with 1 additions and 0 deletions

View File

@ -397,6 +397,7 @@ void AP_Scheduler::Log_Write_Performance()
max_time : perf_info.get_max_time(),
mem_avail : hal.util->available_memory(),
load : (uint16_t)(load_average() * 1000),
internal_error_last_line : AP::internalerror().last_error_line(),
internal_errors : AP::internalerror().errors(),
internal_error_count : AP::internalerror().count(),
spi_count : pd.spi_count,