Skip to content

Commit

Permalink
Synchronize more closely to real-time-cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Kormanyos committed Jun 11, 2023
1 parent 96e7a0b commit 0037a3e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion serial.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
</ItemGroup>
<ItemGroup>
<ClInclude Include="serial\serial_win32api.h" />
<ClInclude Include="util_sleep.h" />
</ItemGroup>
<ItemGroup>
<None Include=".github\workflows\serial_win32api.yml" />
Expand Down
3 changes: 0 additions & 3 deletions serial.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="util_sleep.h">
<Filter>Source Files</Filter>
</ClInclude>
<ClInclude Include="serial\serial_win32api.h">
<Filter>Source Files\serial</Filter>
</ClInclude>
Expand Down
4 changes: 2 additions & 2 deletions serial/serial_win32api.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
}

template<typename InputIteratorType>
auto send(InputIteratorType first, InputIteratorType last) -> bool
auto send_n(InputIteratorType first, InputIteratorType last) -> bool
{
const auto vin = ::std::vector<std::uint8_t>(first, last);

Expand All @@ -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
Expand Down

0 comments on commit 0037a3e

Please sign in to comment.