Compare commits
1 Commits
2a2b9b8817
...
cb436b11a8
| Author | SHA1 | Date | |
|---|---|---|---|
| cb436b11a8 |
12
uart.hpp
12
uart.hpp
@@ -237,19 +237,19 @@ class Uart {
|
||||
template <typename... Ts>
|
||||
Uart &operator<<(float) const
|
||||
{
|
||||
static_assert(util::always_false_v<Ts...>, "Not implemented");
|
||||
static_assert(util::always_false_v<Ts...>, "Not supported by hardware");
|
||||
}
|
||||
|
||||
template <typename... Ts>
|
||||
Uart &operator<<(double) const
|
||||
{
|
||||
static_assert(util::always_false_v<Ts...>, "Not implemented");
|
||||
static_assert(util::always_false_v<Ts...>, "Not supported by hardware");
|
||||
}
|
||||
|
||||
template <typename... Ts>
|
||||
Uart &operator<<(long double) const
|
||||
{
|
||||
static_assert(util::always_false_v<Ts...>, "Not implemented");
|
||||
static_assert(util::always_false_v<Ts...>, "Not supported by hardware");
|
||||
}
|
||||
|
||||
Uart &operator<<(const bool &val)
|
||||
@@ -331,19 +331,19 @@ class Uart {
|
||||
template <typename... Ts>
|
||||
Uart &operator>>(float &) const
|
||||
{
|
||||
static_assert(util::always_false_v<Ts...>, "Not implemented");
|
||||
static_assert(util::always_false_v<Ts...>, "Not supported by hardware");
|
||||
}
|
||||
|
||||
template <typename... Ts>
|
||||
Uart &operator>>(double &) const
|
||||
{
|
||||
static_assert(util::always_false_v<Ts...>, "Not implemented");
|
||||
static_assert(util::always_false_v<Ts...>, "Not supported by hardware");
|
||||
}
|
||||
|
||||
template <typename... Ts>
|
||||
Uart &operator>>(long double &) const
|
||||
{
|
||||
static_assert(util::always_false_v<Ts...>, "Not implemented");
|
||||
static_assert(util::always_false_v<Ts...>, "Not supported by hardware");
|
||||
}
|
||||
|
||||
template <typename... Ts>
|
||||
|
||||
Reference in New Issue
Block a user