Removed unnecessary const qualifiers in template

This commit is contained in:
BlackMark 2019-07-28 14:00:12 +02:00
parent d64793770c
commit 387bc5f110

4
io.hpp
View File

@ -209,7 +209,7 @@ static constexpr auto getPIN(const Bus bus)
//////////////////////////////////////////////////////////////////////////
// Zero overhead Pin object for pretty code without losing performance
template <const P pin>
template <P pin>
class Pin {
public:
// Pin objects cannot be moved or copied
@ -301,7 +301,7 @@ class Pin {
//////////////////////////////////////////////////////////////////////////
// Zero overhead Port object for pretty code without losing performance
template <const Bus port>
template <Bus port>
class Port {
public:
// Port objects cannot be moved or copied