You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by vi...@apache.org on 2020/01/26 04:07:01 UTC

[mynewt-core] branch master updated: Reduce wait time on a semaphore from 4 seconds down to 1 second. (#2167)

This is an automated email from the ASF dual-hosted git repository.

vipulrahane pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new cb60f05  Reduce wait time on a semaphore from 4 seconds down to 1 second. (#2167)
cb60f05 is described below

commit cb60f05b74cbd997d584da12d0fdb8fbc57f22f7
Author: brolan-juul <33...@users.noreply.github.com>
AuthorDate: Sat Jan 25 20:06:50 2020 -0800

    Reduce wait time on a semaphore from 4 seconds down to 1 second. (#2167)
---
 hw/drivers/sensors/lis2dh12/src/lis2dh12.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/drivers/sensors/lis2dh12/src/lis2dh12.c b/hw/drivers/sensors/lis2dh12/src/lis2dh12.c
index ea5ba63..80cc939 100644
--- a/hw/drivers/sensors/lis2dh12/src/lis2dh12.c
+++ b/hw/drivers/sensors/lis2dh12/src/lis2dh12.c
@@ -51,7 +51,7 @@
 /*
  * Max time to wait for interrupt.
  */
-#define LIS2DH12_MAX_INT_WAIT (4 * OS_TICKS_PER_SEC)
+#define LIS2DH12_MAX_INT_WAIT (1 * OS_TICKS_PER_SEC)
 
 static const struct lis2dh12_notif_cfg dflt_notif_cfg[] = {
     {