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.
This commit is contained in:
Tiago Medicci Serrano 2024-02-09 16:14:47 -03:00 committed by hartmannathan
parent 3650251c5e
commit 9fd1251dcb

View File

@ -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;