Moved uart utils to separate type submodule

This commit is contained in:
2020-04-07 03:50:29 +02:00
parent 6f592dd098
commit 41b9ef74f9
4 changed files with 26 additions and 170 deletions

View File

@@ -2,9 +2,9 @@
#include "../clock.hpp"
#include <stdint.h>
#include "../type/type.hpp"
#include "utils.hpp"
#include <stdint.h>
#define FORCE_INLINE __attribute__((always_inline))
@@ -258,7 +258,7 @@ class BlockingHardware {
static bool peek(data_t &) FORCE_INLINE
{
static_assert(util::always_false_v<data_t>, "Peek with data is not supported in blocking mode");
static_assert(type::always_false_v<data_t>, "Peek with data is not supported in blocking mode");
return false;
}