From: Frank Mori Hess Date: Sat, 6 Sep 2003 16:31:19 +0000 (+0000) Subject: init async->events to zero X-Git-Tag: r0_7_69~229 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8996c8d81bc2fc2a8262d67819da1c8fb0022d47;p=comedi.git init async->events to zero --- diff --git a/comedi/kcomedilib/kcomedilib_main.c b/comedi/kcomedilib/kcomedilib_main.c index f899dc59..6678b2aa 100644 --- a/comedi/kcomedilib/kcomedilib_main.c +++ b/comedi/kcomedilib/kcomedilib_main.c @@ -128,6 +128,7 @@ static void init_async_buf( comedi_async *async ) async->cur_chan = 0; async->scan_progress = 0; async->munge_chan = 0; + async->events = 0; } int comedi_command(comedi_t *d,comedi_cmd *cmd)