Menu

#18 Waitforevent doesn't return if stopevent or timeout occured

open
nobody
None
3
2012-01-01
2011-12-21
No

Waitforevent only seems to return serial related events, and not if the returned happened to other reasons. ((1) timeout, (2) stopevent)

Suggestion: turn into function and encode return condition in return value (e.g. 0=serial activity, 1=stopevent 2=timeout)

Discussion

  • Marco van de Voort

    Hmm, since wait* functions in Windows don't return the time waited, the priority of this is much less.

     
  • Marco van de Voort

    • priority: 5 --> 3
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.