DataFlash: DataFlash_MAVLink: add comment concerning locking

This commit is contained in:
Peter Barker 2017-04-11 14:02:35 +10:00 committed by Randy Mackay
parent ac34405272
commit 8bb051af44

View File

@ -527,6 +527,9 @@ void DataFlash_MAVLink::do_resends(uint32_t now)
}
}
// NOTE: any functions called from these periodic functions MUST
// handle locking of the blocks structures by taking the semaphore
// appropriately!
void DataFlash_MAVLink::periodic_10Hz(const uint32_t now)
{
do_resends(now);