Resistance is given in KOhm in datasheet formula

This commit is contained in:
Couriersud 2009-01-25 15:28:22 +00:00
parent e75096c538
commit ceb0c0ac4a

View File

@ -43,11 +43,11 @@ static attotime compute_duration(ttl74123_t *chip)
switch (chip->intf->connection_type) switch (chip->intf->connection_type)
{ {
case TTL74123_NOT_GROUNDED_NO_DIODE: case TTL74123_NOT_GROUNDED_NO_DIODE:
duration = 0.28 * chip->intf->res * chip->intf->cap * (1.0 + (0.7 / chip->intf->res)); duration = 0.28 * chip->intf->res * chip->intf->cap * (1.0 + (700.0 / chip->intf->res));
break; break;
case TTL74123_NOT_GROUNDED_DIODE: case TTL74123_NOT_GROUNDED_DIODE:
duration = 0.25 * chip->intf->res * chip->intf->cap * (1.0 + (0.7 / chip->intf->res)); duration = 0.25 * chip->intf->res * chip->intf->cap * (1.0 + (700.0 / chip->intf->res));
break; break;
case TTL74123_GROUNDED: case TTL74123_GROUNDED: