Moved always_false template to utils
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "config.hpp"
|
||||
#include "utils.hpp"
|
||||
|
||||
#include "../io/io.hpp"
|
||||
|
||||
@@ -8,6 +9,8 @@ namespace uart {
|
||||
|
||||
template <io::P rxPin, io::P txPin, class cfg = Config<>>
|
||||
class Software {
|
||||
static_assert(util::always_false_v<cfg>, "Not implemented");
|
||||
|
||||
public:
|
||||
using data_t = typename cfg::data_t;
|
||||
static constexpr auto DATA_BITS = cfg::DATA_BITS;
|
||||
|
||||
Reference in New Issue
Block a user