diff --git a/include/utl/com/spi_bb.h b/include/utl/com/spi_bb.h index ceecd2e..90f5878 100644 --- a/include/utl/com/spi_bb.h +++ b/include/utl/com/spi_bb.h @@ -66,7 +66,7 @@ namespace utl { protected: ~spi_bb_i () = default; //!< A default destructor, allow destructor from derived only //! \brief A default constructor - spi_bb_i (uint32_t clk =1000000) noexcept + spi_bb_i (uint32_t clk) noexcept : nsec_ {1000000000/(2*clk)} { } //!@} @@ -198,7 +198,7 @@ namespace utl { protected: ~spi_bb_i () = default; //!< A default destructor, allow destructor from derived only //! \brief A default constructor - spi_bb_i (uint32_t clk =1000000) noexcept + spi_bb_i (uint32_t clk) noexcept : nsec_ {1000000000/(2*clk)} { } //!@}