1
0
Fork 0
mirror of https://github.com/tuxedocomputers/tuxedo-touchpad-switch.git synced 2025-01-18 11:41:10 +01:00

Remove accidential redeclaration

This commit is contained in:
Werner Sembach 2023-04-13 16:46:50 +02:00
parent cf8bd26506
commit 8f2ee508a5

View file

@ -131,7 +131,7 @@ int set_touchpad_state(int enabled) {
buffer[1] = 0x03;
}
int result = ioctl(hidraw, HIDIOCSFEATURE(sizeof(buffer)/sizeof(buffer[0])), buffer);
result = ioctl(hidraw, HIDIOCSFEATURE(sizeof(buffer)/sizeof(buffer[0])), buffer);
if (result < 0) {
cerr << "send_events_handler(...): ioctl(...) on " << *it << " failed." << endl;
result = EXIT_FAILURE;