mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 05:43:33 +08:00
VDev: Less verbose in header
This commit is contained in:
@@ -181,7 +181,7 @@ protected:
|
|||||||
*/
|
*/
|
||||||
void lock()
|
void lock()
|
||||||
{
|
{
|
||||||
DEVICE_DEBUG("lock");
|
//DEVICE_DEBUG("lock");
|
||||||
do {} while (px4_sem_wait(&_lock) != 0);
|
do {} while (px4_sem_wait(&_lock) != 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -190,7 +190,7 @@ protected:
|
|||||||
*/
|
*/
|
||||||
void unlock()
|
void unlock()
|
||||||
{
|
{
|
||||||
DEVICE_DEBUG("unlock");
|
//DEVICE_DEBUG("unlock");
|
||||||
px4_sem_post(&_lock);
|
px4_sem_post(&_lock);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user