summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/wangpckb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/wangpckb.cpp')
-rw-r--r--src/mame/machine/wangpckb.cpp6
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);