Added code for counter source filtering
r1848 | dcl | 2007-04-12 15:54:04 +1000 (Thu, 12 Apr 2007) | 2 lines
This commit is contained in:
@@ -605,6 +605,13 @@ int device_poll(DEVICE* device)
|
||||
HWARE_TEST(hware_source(device->private_data, device->source));
|
||||
}
|
||||
|
||||
/* set the line filter */
|
||||
if (device->filter != pp->filter)
|
||||
{
|
||||
device->filter = pp->filter;
|
||||
HWARE_TEST(hware_filter(device->private_data, device->filter));
|
||||
}
|
||||
|
||||
/* drive the output line */
|
||||
if (device->output_line != pp->output_line)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user