AP_Scheduler: log I2C ISR count

This commit is contained in:
Andrew Tridgell 2019-08-25 17:47:19 +10:00
parent 7d5c0e92ae
commit 4027d61e17

View File

@ -305,6 +305,7 @@ void AP_Scheduler::Log_Write_Performance()
internal_error_count : AP::internalerror().count(),
spi_count : pd.spi_count,
i2c_count : pd.i2c_count,
i2c_isr_count : pd.i2c_isr_count,
};
AP::logger().WriteCriticalBlock(&pkt, sizeof(pkt));
}