author | František Kučera <franta-hg@frantovo.cz> |
Tue, 20 Aug 2019 18:59:39 +0200 | |
branch | v_0 |
changeset 11 | bb42abd9f510 |
parent 10 | 05dbed834852 |
child 12 | cf77c218b0b1 |
--- a/cadMousePro-daemon/src/HID.h Mon Aug 19 17:55:50 2019 +0200 +++ b/cadMousePro-daemon/src/HID.h Tue Aug 20 18:59:39 2019 +0200 @@ -83,7 +83,7 @@ return buffer.data(); } - void sendFeatureReport(Packet data) { + void sendFeatureReport(const Packet& data) { int written = hid_send_feature_report(handle.get(), data.data(), data.size()); if (written < 0) throw HIDException(L"Unable to send feature report."); }