From: Frank Mori Hess Date: Mon, 13 Aug 2007 21:19:36 +0000 (+0000) Subject: print subdevice too on command dumps. X-Git-Tag: r0_8_1~19 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e9f25368435bf4d7352f67ab077428f8924d29cb;p=comedilib.git print subdevice too on command dumps. --- diff --git a/demo/common.c b/demo/common.c index 0d2198b..f4c441c 100644 --- a/demo/common.c +++ b/demo/common.c @@ -119,6 +119,9 @@ void dump_cmd(FILE *out,comedi_cmd *cmd) { char buf[100]; + fprintf(out,"subdevice: %d\n", + cmd->subdev); + fprintf(out,"start: %-8s %d\n", cmd_src(cmd->start_src,buf), cmd->start_arg);