diff options
author | wilbertpol <wilbertpol@users.noreply.github.com> | 2018-05-26 21:45:32 +0200 |
---|---|---|
committer | Vas Crabb <cuavas@users.noreply.github.com> | 2018-05-27 05:45:32 +1000 |
commit | 5291d140218339dff4fa471b1f8f1cfab3eb3fa1 (patch) | |
tree | 76f2dd83bacede1d04ecfcd12135d7ad7245479f /src/mame/machine/wangpckb.cpp | |
parent | c6e63ee748b64eb971e7091ea19848cc55f4d8b5 (diff) |
use plural names for output finders when there are multiple outputs (#3595)
* use plural names for output finders when there are multiple outputs (nw)
* use plural names for output finders when there are multiple outputs (nw)
* use plural names for output finders when there are multiple outputs (nw)
Diffstat (limited to 'src/mame/machine/wangpckb.cpp')
-rw-r--r-- | src/mame/machine/wangpckb.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/machine/wangpckb.cpp b/src/mame/machine/wangpckb.cpp index ea4daf5fcb3..add912f2b74 100644 --- a/src/mame/machine/wangpckb.cpp +++ b/src/mame/machine/wangpckb.cpp @@ -371,7 +371,7 @@ wangpc_keyboard_device::wangpc_keyboard_device(const machine_config &mconfig, co m_maincpu(*this, I8051_TAG), m_y(*this, "Y%u", 0), m_txd_handler(*this), - m_led(*this, "led%u", 0U), + m_leds(*this, "led%u", 0U), m_keylatch(0), m_rxd(1) { @@ -385,7 +385,7 @@ wangpc_keyboard_device::wangpc_keyboard_device(const machine_config &mconfig, co void wangpc_keyboard_device::device_start() { m_txd_handler.resolve_safe(); - m_led.resolve(); + m_leds.resolve(); set_data_frame(1, 8, PARITY_NONE, STOP_BITS_2); @@ -535,7 +535,7 @@ WRITE8_MEMBER( wangpc_keyboard_device::kb_p1_w ) for (int i = 0; i < 6; i++) { - m_led[i] = BIT(~data, i); + m_leds[i] = BIT(~data, i); } //if (LOG) logerror("P1 %02x\n", data); |