phoenix-rtos/phoenix-rtos-project
libphoenix/select: timeout is handled incorrectly
已关闭
#1,390 创建于 2025年8月29日
good first issue
仓库指标
- 星标
- (62 个星标)
- PR 合并指标
- (平均合并 23小时 20分钟) (30 天内合并 12 个 PR)
描述
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