diff --git a/include/utl/com/_1wire.h b/include/utl/com/_1wire.h index 877a5e4..7dad5f9 100644 --- a/include/utl/com/_1wire.h +++ b/include/utl/com/_1wire.h @@ -646,7 +646,7 @@ namespace _1wire_i_det { * \name 1-wire type interface concept */ template - concept bool _1wire_c = requires (T t, typename T::Speed s, _1wire_id_t id) { + concept bool _1Wire_i = requires (T t, typename T::Speed s, _1wire_id_t id) { // Object type requires not_::value>::value; requires not_::value>::value; @@ -710,7 +710,7 @@ namespace _1wire_i_det { * \return True if _Tp is a 1-wire interface */ template - constexpr bool _1wire_c = _1wire_i_det::is_1wire_<_Tp>::value; + constexpr bool _1Wire_i = _1wire_i_det::is_1wire_<_Tp>::value; #endif //!@} diff --git a/include/utl/com/i2c.h b/include/utl/com/i2c.h index 8cdea23..f04af8a 100644 --- a/include/utl/com/i2c.h +++ b/include/utl/com/i2c.h @@ -227,7 +227,7 @@ namespace utl { * i2c interface concept */ template - concept bool i2c_c = requires (T t, const T ct, typename T::Sequence s) { + concept bool I2c_i = requires (T t, const T ct, typename T::Sequence s) { // Object type requires not_::value>::value; requires not_::value>::value; @@ -276,7 +276,7 @@ namespace utl { * \return True if _Tp is a i2c interface */ template - constexpr bool i2c_c = i2c_i_details::is_i2c_<_Tp>::value; + constexpr bool I2c_i = i2c_i_details::is_i2c_<_Tp>::value; #endif //!@} diff --git a/include/utl/com/spi.h b/include/utl/com/spi.h index 7ce0d19..6b9c2e9 100644 --- a/include/utl/com/spi.h +++ b/include/utl/com/spi.h @@ -275,12 +275,13 @@ namespace utl { +/*! + * i2c interface concept + */ +//! @{ #if defined _utl_have_concepts - /*! - * i2c interface concept - */ template - concept bool spi_c = requires (T t, const T ct, typename T::Sequence s) { + concept bool Spi_i = requires (T t, const T ct, typename T::Sequence s) { // Object type requires not_::value>::value; requires not_::value>::value; @@ -321,10 +322,11 @@ namespace utl { * \return True if _Tp is a spi interface */ template - constexpr bool spi_c = spi_i_details::is_spi_<_Tp>::value; - + constexpr bool Spi_i = spi_i_details::is_spi_<_Tp>::value; #endif -//!@} +//! @} + +//! @} } // namespace utl