summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/rs232/keyboard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/rs232/keyboard.cpp')
-rw-r--r--src/devices/bus/rs232/keyboard.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/devices/bus/rs232/keyboard.cpp b/src/devices/bus/rs232/keyboard.cpp
index 31d77555d06..64beb75d6f2 100644
--- a/src/devices/bus/rs232/keyboard.cpp
+++ b/src/devices/bus/rs232/keyboard.cpp
@@ -8,7 +8,6 @@ INPUT_PORTS_START(serial_keyboard)
PORT_INCLUDE(generic_keyboard)
PORT_RS232_BAUD("RS232_TXBAUD", RS232_BAUD_9600, "TX Baud", serial_keyboard_device, update_serial)
- PORT_RS232_STARTBITS("RS232_STARTBITS", RS232_STARTBITS_1, "Start Bits", serial_keyboard_device, update_serial)
PORT_RS232_DATABITS("RS232_DATABITS", RS232_DATABITS_8, "Data Bits", serial_keyboard_device, update_serial)
PORT_RS232_PARITY("RS232_PARITY", RS232_PARITY_NONE, "Parity", serial_keyboard_device, update_serial)
PORT_RS232_STOPBITS("RS232_STOPBITS", RS232_STOPBITS_1, "Stop Bits", serial_keyboard_device, update_serial)
@@ -25,7 +24,6 @@ serial_keyboard_device::serial_keyboard_device(const machine_config &mconfig, de
, device_buffered_serial_interface(mconfig, *this)
, device_rs232_port_interface(mconfig, *this)
, m_rs232_txbaud(*this, "RS232_TXBAUD")
- , m_rs232_startbits(*this, "RS232_STARTBITS")
, m_rs232_databits(*this, "RS232_DATABITS")
, m_rs232_parity(*this, "RS232_PARITY")
, m_rs232_stopbits(*this, "RS232_STOPBITS")
@@ -53,7 +51,7 @@ void serial_keyboard_device::device_reset()
clear_fifo();
- int const startbits = convert_startbits(m_rs232_startbits->read());
+ int const startbits = 1;
int const databits = convert_databits(m_rs232_databits->read());
parity_t const parity = convert_parity(m_rs232_parity->read());
stop_bits_t const stopbits = convert_stopbits(m_rs232_stopbits->read());