Kinsey Moore commented on a discussion on cpukit/libmisc/shell/shell.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/114#note_109110 > /* > * Wait for the string to return or timeout. > */ > -static bool rtems_shell_term_wait_for(const int fd, const char* str, const > int timeout) > +static bool rtems_shell_term_wait_for(const int fd, > + const char* str, > + const int timeout_ms) > { > - int msec = timeout; > + const int tick_count_max = timeout_ms * 1000 / > rtems_configuration_get_microseconds_per_tick(); Sounds appropriate, I'll make sure the timeout is at minimum 1 tick. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/114#note_109110 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
