소스 검색

com: i2c object rename to indicate interface

doc
Christos Houtouridis 5 년 전
부모
커밋
dca37bd17f
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      include/utl/com/i2c.h

+ 2
- 2
include/utl/com/i2c.h 파일 보기

@@ -239,7 +239,7 @@ namespace utl {
{t.write(0, s)} -> bool;
};
#else
namespace i2c_t_cnpt {
namespace i2c_i_cnpt {
using std::declval;
template <class _Tp> using try_cfreq_t = decltype (declval<const _Tp>().frequency());
@@ -275,7 +275,7 @@ namespace utl {
* \return True if _Tp is a i2c interface
*/
template <typename _Tp>
constexpr bool i2c_c = i2c_t_cnpt::is_i2c_<_Tp>::value;
constexpr bool i2c_c = i2c_i_cnpt::is_i2c_<_Tp>::value;
#endif
//!@}


불러오는 중...
취소
저장