summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/duet16.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-02-20 11:43:18 -0500
committer AJR <ajrhacker@users.noreply.github.com>2018-02-20 11:49:55 -0500
commit5f9a1814876426ea28729704eec78f51a560f2bb (patch)
treeae54f0e9d06cbb847265ab77fe3e456a3fc9a61b /src/mame/drivers/duet16.cpp
parent1b14b550b57fcafe68d9d203fb5723180db823f9 (diff)
6840ptm: Counter/timers are numbered from 1 to 3, not 0 to 2 as with 8253 (nw)
- Rename OUT0, OUT1 and OUT2 callback configuration macros to match pin names (O1, O2 and O3) - Update all verbose logging messages to be one-based - Remove unnecessary mentions of device type in logging messages
Diffstat (limited to 'src/mame/drivers/duet16.cpp')
-rw-r--r--src/mame/drivers/duet16.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/duet16.cpp b/src/mame/drivers/duet16.cpp
index 4e2bf9d308a..3657048e1a9 100644
--- a/src/mame/drivers/duet16.cpp
+++ b/src/mame/drivers/duet16.cpp
@@ -216,7 +216,7 @@ MACHINE_CONFIG_START(duet16_state::duet16)
MCFG_DEVICE_ADD("itm", PTM6840, 0)
MCFG_PTM6840_EXTERNAL_CLOCKS(0.0, 0.0, (8_MHz_XTAL / 8).dvalue()) // C3 = 1MHz
- MCFG_PTM6840_OUT2_CB(DEVWRITELINE("itm", ptm6840_device, set_c1)) // C1 = C2 = O3
+ MCFG_PTM6840_O3_CB(DEVWRITELINE("itm", ptm6840_device, set_c1)) // C1 = C2 = O3
MCFG_DEVCB_CHAIN_OUTPUT(DEVWRITELINE("itm", ptm6840_device, set_c2))
MCFG_PTM6840_IRQ_CB(DEVWRITELINE("pic", pic8259_device, ir0_w)) // INT6