diff --git a/hardware.hpp b/hardware.hpp index e61dd6f..c359fb8 100644 --- a/hardware.hpp +++ b/hardware.hpp @@ -256,7 +256,7 @@ class BlockingHardware { 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, "Peek with data is not supported in blocking mode"); return false;