phoenix-rtos/phoenix-rtos-project
View on GitHublibphoenix/select: timeout is handled incorrectly
Open
#1,390 opened on Aug 29, 2025
good first issue
Repository metrics
- Stars
- (62 stars)
- PR merge metrics
- (PR metrics pending)
Description
When calling select with nfds = 0 timeval is interpreted incorrectly: tv_sec of timeout in select are actually milliseconds due to bad conversion ratio (1e3 instead of 1e6). tv_usec doesn't work correctly either.
This causes some micropython tests to fail