Moved always_false template to utils

This commit is contained in:
2019-08-03 10:58:32 +02:00
parent 1ca8ea2061
commit 778f5f9754
3 changed files with 49 additions and 39 deletions

View File

@@ -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;