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

hartmannathan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 9fd1251dc examples/rmtchar: Increase initial duration time
9fd1251dc is described below

commit 9fd1251dcbb44a824fe7d53aa90ca36939f01179
Author: Tiago Medicci Serrano <tiago.medi...@gmail.com>
AuthorDate: Fri Feb 9 16:14:47 2024 -0300

    examples/rmtchar: Increase initial duration time
    
    With higher RMT source clocks, small durations are hard to be
    detected. Increasing it makes it easier to enable automated tests.
---
 examples/rmtchar/rmtchar_transmitter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/rmtchar/rmtchar_transmitter.c 
b/examples/rmtchar/rmtchar_transmitter.c
index e1b2c1a98..249f877ae 100644
--- a/examples/rmtchar/rmtchar_transmitter.c
+++ b/examples/rmtchar/rmtchar_transmitter.c
@@ -78,7 +78,7 @@ pthread_addr_t rmtchar_transmitter(pthread_addr_t arg)
 {
   FAR struct rmtchar_state_s *rmtchar = (FAR struct rmtchar_state_s *)arg;
   struct rmt_item32_s buf[rmtchar->rmtchar_items];
-  int duration = 100;
+  int duration = 1000;
   int nwritten;
   int fd;
   int i;

Reply via email to