Skip to content

Commit d09fcf9

Browse files
committed
Fix fakenect not handling freenect_process_events_timeout
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 <[email protected]>
1 parent 43d44e9 commit d09fcf9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

fakenect/fakenect.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,11 @@ int freenect_process_events(freenect_context *ctx)
203203
return 0;
204204
}
205205

206+
int freenect_process_events_timeout(freenect_context *ctx, struct timeval *timeout)
207+
{
208+
return freenect_process_events(ctx);
209+
}
210+
206211
double freenect_get_tilt_degs(freenect_raw_tilt_state *state)
207212
{
208213
// NOTE: This is duped from tilt.c, this is the only function we need from there

0 commit comments

Comments
 (0)