From fe3cdd466b93ccb71df112a641c79bfb6f274a74 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 13 Mar 2012 08:47:48 -0400 Subject: [PATCH] Add serial and PWM subdevice types to `demo/python/info.py`. This catches it up for the folowing commits to the comedi repository: commit 311e9c540217d60bdf56a1dba9eafe474fd3b218 Author: Bernd Porr Date: Sun Jan 13 23:07:02 2008 +0000 Added a proper PWM subdevice for comedi. commit 8092ed57ff38e1fcaf75a7e0bf3b8c4f5372f3d7 Author: Frank Mori Hess Date: Sat Jan 31 22:13:09 2004 +0000 serial dio (SCXI) support from Caleb Tennis --- demo/python/info.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/demo/python/info.py b/demo/python/info.py index 15393e0..6d303d3 100755 --- a/demo/python/info.py +++ b/demo/python/info.py @@ -26,6 +26,8 @@ subdevice_types = {c.COMEDI_SUBD_UNUSED:"unused", c.COMEDI_SUBD_DO:"digital output", c.COMEDI_SUBD_DIO:"digital I/O", c.COMEDI_SUBD_COUNTER:"counter", + c.COMEDI_SUBD_SERIAL:"serial", + c.COMEDI_SUBD_PWM:"pulse width modulation", c.COMEDI_SUBD_TIMER:"timer", c.COMEDI_SUBD_MEMORY:"memory", c.COMEDI_SUBD_CALIB:"calibration", -- 2.26.2