Moved uart utils to separate type submodule
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user