From 535d5b92335ca52df7520ce1a5153f27e8c40df6 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Mon, 5 Sep 2016 22:16:58 +0200 Subject: [PATCH] Ensure TAP ESC is fully booted --- src/drivers/tap_esc/drv_tap_esc.h | 2 +- src/drivers/tap_esc/tap_esc.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/tap_esc/drv_tap_esc.h b/src/drivers/tap_esc/drv_tap_esc.h index a77fae823a..5cec6e988d 100644 --- a/src/drivers/tap_esc/drv_tap_esc.h +++ b/src/drivers/tap_esc/drv_tap_esc.h @@ -85,7 +85,7 @@ #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) diff --git a/src/drivers/tap_esc/tap_esc.cpp b/src/drivers/tap_esc/tap_esc.cpp index 107298550e..beed99684a 100644 --- a/src/drivers/tap_esc/tap_esc.cpp +++ b/src/drivers/tap_esc/tap_esc.cpp @@ -232,7 +232,7 @@ TAP_ESC::init() 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();