mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Ensure TAP ESC is fully booted
This commit is contained in:
committed by
Lorenz Meier
parent
6b9d95648f
commit
535d5b9233
@@ -85,7 +85,7 @@
|
|||||||
#define RPMSTOPPED (RPMMIN - 10)
|
#define RPMSTOPPED (RPMMIN - 10)
|
||||||
|
|
||||||
|
|
||||||
#define MAX_BOOT_TIME_MS (500) // Minimum time to wait after Power on before sending commands
|
#define MAX_BOOT_TIME_MS (550) // Minimum time to wait after Power on before sending commands
|
||||||
|
|
||||||
#pragma pack(push,1)
|
#pragma pack(push,1)
|
||||||
|
|
||||||
|
|||||||
@@ -232,7 +232,7 @@ TAP_ESC::init()
|
|||||||
|
|
||||||
ASSERT(!_initialized);
|
ASSERT(!_initialized);
|
||||||
|
|
||||||
/* Respect boot time requierd by the ESC FW */
|
/* Respect boot time required by the ESC FW */
|
||||||
|
|
||||||
hrt_abstime uptime_us = hrt_absolute_time();
|
hrt_abstime uptime_us = hrt_absolute_time();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user