summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/rs232/null_modem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/rs232/null_modem.h')
-rw-r--r--src/devices/bus/rs232/null_modem.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/bus/rs232/null_modem.h b/src/devices/bus/rs232/null_modem.h
index 3568b313cbc..39ecd9a129c 100644
--- a/src/devices/bus/rs232/null_modem.h
+++ b/src/devices/bus/rs232/null_modem.h
@@ -1,7 +1,7 @@
// license:BSD-3-Clause
// copyright-holders:smf,Carl
-#ifndef NULL_MODEM_H_
-#define NULL_MODEM_H_
+#ifndef MAME_BUS_RS232_NULL_MODEM_H
+#define MAME_BUS_RS232_NULL_MODEM_H
#include "rs232.h"
#include "imagedev/bitbngr.h"
@@ -30,9 +30,9 @@ protected:
virtual void rcv_complete() override;
private:
- void queue();
+ static constexpr int TIMER_POLL = 1;
- static const int TIMER_POLL = 1;
+ void queue();
required_device<bitbanger_device> m_stream;
@@ -51,6 +51,6 @@ private:
int m_rts;
};
-extern const device_type NULL_MODEM;
+DECLARE_DEVICE_TYPE(NULL_MODEM, null_modem_device)
-#endif
+#endif // MAME_BUS_RS232_NULL_MODEM_H