summaryrefslogtreecommitdiffstats
path: root/src/devices/bus/ieee488/c2040.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ieee488/c2040.cpp')
-rw-r--r--src/devices/bus/ieee488/c2040.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/devices/bus/ieee488/c2040.cpp b/src/devices/bus/ieee488/c2040.cpp
index aee0f5a895c..609cea7cdc2 100644
--- a/src/devices/bus/ieee488/c2040.cpp
+++ b/src/devices/bus/ieee488/c2040.cpp
@@ -365,13 +365,13 @@ WRITE8_MEMBER( c2040_device::riot1_pb_w )
*/
// activity led 1
- machine().output().set_led_value(LED_ACT1, BIT(data, 3));
+ m_led[LED_ACT1] = BIT(data, 3);
// activity led 0
- machine().output().set_led_value(LED_ACT0, BIT(data, 4));
+ m_led[LED_ACT0] = BIT(data, 4);
// error led
- machine().output().set_led_value(LED_ERR, BIT(data, 5));
+ m_led[LED_ERR] = BIT(data, 5);
}
@@ -650,6 +650,7 @@ c2040_device::c2040_device(const machine_config &mconfig, device_type type, cons
m_fdc(*this, FDC_TAG),
m_gcr(*this, "gcr"),
m_address(*this, "ADDRESS"),
+ m_led(*this, "led%u", 0U),
m_rfdo(1),
m_daco(1),
m_atna(1),
@@ -689,6 +690,7 @@ c4040_device::c4040_device(const machine_config &mconfig, const char *tag, devic
void c2040_device::device_start()
{
+ m_led.resolve();
// install image callbacks
m_fdc->set_floppy(m_floppy0, m_floppy1);