We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82df2d3 commit afb9a36Copy full SHA for afb9a36
src/libsc/k60/uart_device.cpp
@@ -353,7 +353,7 @@ void UartDevice::SendStr(string&&) {}
353
void UartDevice::SendBuffer(const Byte*, const size_t) {}
354
void UartDevice::SendBuffer(unique_ptr<Byte[]>&&, const size_t) {}
355
void UartDevice::SendBuffer(vector<Byte>&&) {}
356
-void UartDevice::EnableRx(OnReceiveListener) {}
+void UartDevice::EnableRx(const OnReceiveListener&) {}
357
void UartDevice::DisableRx() {}
358
bool UartDevice::PeekChar(char*) { return false; }
359
0 commit comments