Specified default for hardware mode

This commit is contained in:
BlackMark 2019-07-28 14:10:48 +02:00
parent fd7e8e7238
commit a71035d4b7

View File

@ -17,7 +17,7 @@ enum class Driven {
BLOCKING, BLOCKING,
}; };
template <Mode mode, class cfg = config<>, Driven driven = Driven::INTERRUPT> template <Mode mode = Mode::ASYNCHRONOUS, class cfg = config<>, Driven driven = Driven::INTERRUPT>
class hardware0 { class hardware0 {
public: public:
using data_t = typename cfg::data_t; using data_t = typename cfg::data_t;