summaryrefslogtreecommitdiffstats
path: root/src/mame/machine/trs80m2kb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/trs80m2kb.cpp')
-rw-r--r--src/mame/machine/trs80m2kb.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/machine/trs80m2kb.cpp b/src/mame/machine/trs80m2kb.cpp
index 09a7a7d1592..60af2d67f54 100644
--- a/src/mame/machine/trs80m2kb.cpp
+++ b/src/mame/machine/trs80m2kb.cpp
@@ -211,7 +211,7 @@ trs80m2_keyboard_device::trs80m2_keyboard_device(const machine_config &mconfig,
device_t(mconfig, TRS80M2_KEYBOARD, tag, owner, clock),
m_maincpu(*this, I8021_TAG),
m_y(*this, "Y%u", 0),
- m_led(*this, "led%u", 0U),
+ m_leds(*this, "led%u", 0U),
m_write_clock(*this),
m_busy(1),
m_data(1),
@@ -226,7 +226,7 @@ trs80m2_keyboard_device::trs80m2_keyboard_device(const machine_config &mconfig,
void trs80m2_keyboard_device::device_start()
{
- m_led.resolve();
+ m_leds.resolve();
// resolve callbacks
m_write_clock.resolve_safe();
@@ -323,8 +323,8 @@ WRITE8_MEMBER( trs80m2_keyboard_device::kb_p1_w )
m_clk = clk;
}
- m_led[LED_0] = BIT(data, 2);
- m_led[LED_1] = BIT(data, 4);
+ m_leds[LED_0] = BIT(data, 2);
+ m_leds[LED_1] = BIT(data, 4);
}