summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdmond Chung <edmondchung@google.com>2023-09-28 10:08:14 -0700
committerTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2023-09-28 18:25:56 +0000
commit5494852a0e5af6a3aefecb7055f991a13a250f4f (patch)
treef84c8728f8e690c300d990c2e0a34467f153bc95
parent618888853d9b4ba1ca92a4cff60651e559fa9e46 (diff)
downloadlwis-5494852a0e5af6a3aefecb7055f991a13a250f4f.tar.gz
IOEntry: Allow max wait time of 1 second
Bug: 302544486 Test: Build Change-Id: I7e683a9b038f248e104743a3acb7f4b58804ccfb Signed-off-by: Edmond Chung <edmondchung@google.com>
-rw-r--r--lwis_io_entry.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lwis_io_entry.h b/lwis_io_entry.h
index bf8b644..0138aba 100644
--- a/lwis_io_entry.h
+++ b/lwis_io_entry.h
@@ -14,10 +14,10 @@
#include "lwis_commands.h"
#include "lwis_device.h"
-/* Minimum value of sleep time */
+/* Minimum value of sleep time in us */
#define MIN_WAIT_TIME 10
-/* Maximum value of sleep time */
-#define MAX_WAIT_TIME 20000
+/* Maximum value of sleep time in us */
+#define MAX_WAIT_TIME 1000000
/* Default value of polling timeout */
#define DEFAULT_POLLING_TIMEOUT_MS 5
@@ -39,4 +39,4 @@ int lwis_io_entry_read_assert(struct lwis_device *lwis_dev, struct lwis_io_entry
*/
int lwis_io_entry_wait(struct lwis_device *lwis_dev, struct lwis_io_entry *entry);
-#endif /* LWIS_IO_ENTRY_H_ */ \ No newline at end of file
+#endif /* LWIS_IO_ENTRY_H_ */