소스 검색

Remove default constructor from i2c also

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

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

@@ -65,7 +65,7 @@ namespace utl {
//! \brief A default destructor, allow destructor from derived only
~i2c_bb_i () noexcept = default;
//! \brief A default constructor
i2c_bb_i (uint32_t clk =100000) noexcept
i2c_bb_i (uint32_t clk) noexcept
: usec_ {1000000/(2*clk)} { }
//!@}
@@ -247,7 +247,7 @@ namespace utl {
//!@{
protected:
//! \brief Constructor
i2c_bb_i (uint32_t clk =100000) noexcept
i2c_bb_i (uint32_t clk) noexcept
: usec_ {1000000/(2*clk)} { }
//! \brief Virtual destructor
virtual ~i2c_bb_i () noexcept = default;


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