Replaced maybe_unused with unnamed parameter
This commit is contained in:
parent
7c21664fe4
commit
16c9015f43
@ -256,7 +256,7 @@ class BlockingHardware {
|
|||||||
return HardwareImpl::rxByteBlocking(byte);
|
return HardwareImpl::rxByteBlocking(byte);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool peek([[maybe_unused]] data_t &byte) FORCE_INLINE
|
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(util::always_false_v<data_t>, "Peek with data is not supported in blocking mode");
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user