You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to change the timeout of my serial object at runtime with setTimeout, but I notice that it requires a non-constant reference to a Timeout object, so lines like
I think probably that can be made a const reference, and it was not like that just because no one ever noticed? Are you interested in opening a PR to fix that? Thanks!
Probably we just need to cherry-pick wjwwood/serial#102 here, see also wjwwood/serial#101 . This touches the public API, but I think there is no problem, we can just document that headers can change in minor releases, and just release 1.4.0 after this change.
Activity
traversaro commentedon Oct 3, 2025
I think probably that can be made a const reference, and it was not like that just because no one ever noticed? Are you interested in opening a PR to fix that? Thanks!
traversaro commentedon Oct 3, 2025
Probably we just need to cherry-pick wjwwood/serial#102 here, see also wjwwood/serial#101 . This touches the public API, but I think there is no problem, we can just document that headers can change in minor releases, and just release 1.4.0 after this change.
traversaro commentedon Nov 14, 2025
Fixed in #16 .