Skip to content

Commit

Permalink
Remove unnecessary const ref params on EncodeBits func
Browse files Browse the repository at this point in the history
  • Loading branch information
hhvrc committed Jan 22, 2025
1 parent 7313c3a commit 90cf1e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/radio/rmt/internal/Shared.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace OpenShock::Rmt::Internal {
template<size_t N, typename T>
constexpr void EncodeBits(rmt_data_t* sequence, T data, const rmt_data_t& rmtOne, const rmt_data_t& rmtZero)
constexpr void EncodeBits(rmt_data_t* sequence, T data, rmt_data_t rmtOne, rmt_data_t rmtZero)
{
static_assert(std::is_unsigned<T>::value, "T must be an unsigned integer");
static_assert(N > 0, "N must be greater than 0");
Expand Down

0 comments on commit 90cf1e3

Please sign in to comment.