Skip to content

Commit

Permalink
Fix fakenect not handling freenect_process_events_timeout
Browse files Browse the repository at this point in the history
There was no equivalent to freenect_process_events_timeout (core.c) in
fakenect.c. The supplied fix might be crude, but it's better than fakenect
not working at all.

Signed-off-by: Jonas Deitmerg <jonasdeitmerg@aim.com>
  • Loading branch information
jdeitmerg committed May 3, 2014
1 parent 43d44e9 commit d09fcf9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fakenect/fakenect.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,11 @@ int freenect_process_events(freenect_context *ctx)
return 0;
}

int freenect_process_events_timeout(freenect_context *ctx, struct timeval *timeout)
{
return freenect_process_events(ctx);
}

double freenect_get_tilt_degs(freenect_raw_tilt_state *state)
{
// NOTE: This is duped from tilt.c, this is the only function we need from there
Expand Down

0 comments on commit d09fcf9

Please sign in to comment.