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:
Douglas Clowes
2007-04-12 15:54:04 +10:00
parent f95142b219
commit cff3ac6553
7 changed files with 97 additions and 1 deletions

View File

@@ -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)
{