From 0037a3e55837c1cb03e6bdec6b17eedea78bc0b6 Mon Sep 17 00:00:00 2001 From: Christopher Kormanyos Date: Sun, 11 Jun 2023 18:47:41 +0200 Subject: [PATCH] Synchronize more closely to real-time-cpp --- serial.vcxproj | 1 - serial.vcxproj.filters | 3 --- serial/serial_win32api.h | 4 ++-- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/serial.vcxproj b/serial.vcxproj index 5ce8a88..9b232c6 100644 --- a/serial.vcxproj +++ b/serial.vcxproj @@ -84,7 +84,6 @@ - diff --git a/serial.vcxproj.filters b/serial.vcxproj.filters index 53cba89..b3f92d1 100644 --- a/serial.vcxproj.filters +++ b/serial.vcxproj.filters @@ -24,9 +24,6 @@ - - Source Files - Source Files\serial diff --git a/serial/serial_win32api.h b/serial/serial_win32api.h index 11faa11..6f667f9 100644 --- a/serial/serial_win32api.h +++ b/serial/serial_win32api.h @@ -97,7 +97,7 @@ } template - auto send(InputIteratorType first, InputIteratorType last) -> bool + auto send_n(InputIteratorType first, InputIteratorType last) -> bool { const auto vin = ::std::vector(first, last); @@ -110,7 +110,7 @@ const auto ar1 = array_one_byte_type { b }; - return send(ar1.cbegin(), ar1.cend()); + return send_n(ar1.cbegin(), ar1.cend()); } auto set_chan(const std::uint32_t ch) -> bool