Skip to content

Commit afb9a36

Browse files
committed
Fix null UartDevice
1 parent 82df2d3 commit afb9a36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsc/k60/uart_device.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ void UartDevice::SendStr(string&&) {}
353353
void UartDevice::SendBuffer(const Byte*, const size_t) {}
354354
void UartDevice::SendBuffer(unique_ptr<Byte[]>&&, const size_t) {}
355355
void UartDevice::SendBuffer(vector<Byte>&&) {}
356-
void UartDevice::EnableRx(OnReceiveListener) {}
356+
void UartDevice::EnableRx(const OnReceiveListener&) {}
357357
void UartDevice::DisableRx() {}
358358
bool UartDevice::PeekChar(char*) { return false; }
359359

0 commit comments

Comments
 (0)