From 9bf81912d3e6c7a59b83ebbbdab72189d1c3cc75 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Wed, 13 Dec 2017 17:32:17 +1100 Subject: get rid of legacy BITSWAP* (nw) --- src/devices/machine/sdlc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/devices/machine/sdlc.cpp') diff --git a/src/devices/machine/sdlc.cpp b/src/devices/machine/sdlc.cpp index e3cc8cc99ed..870f8aba4e3 100644 --- a/src/devices/machine/sdlc.cpp +++ b/src/devices/machine/sdlc.cpp @@ -282,7 +282,7 @@ void sdlc_logger_device::log_frame(bool partial) const fcs |= std::uint16_t(m_buffer[frame_bytes - 1]) << (8 - residual_bits); if (residual_bits) fcs |= (std::uint16_t(m_buffer[frame_bytes]) & ((1U << residual_bits) - 1U)) << (16 - residual_bits); - fcs = ~BITSWAP16(fcs, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15); + fcs = ~bitswap<16>(fcs, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15); util::stream_format(msg, " FCS=%04X", fcs); if (!is_frame_check_good()) util::stream_format(msg, " (expected %04X)", m_expected_fcs); -- cgit v1.2.3-70-g09d2