Remove accidential redeclaration

pull/16/head
Werner Sembach 2 years ago
parent cf8bd26506
commit 8f2ee508a5

@ -131,7 +131,7 @@ int set_touchpad_state(int enabled) {
buffer[1] = 0x03; 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) { if (result < 0) {
cerr << "send_events_handler(...): ioctl(...) on " << *it << " failed." << endl; cerr << "send_events_handler(...): ioctl(...) on " << *it << " failed." << endl;
result = EXIT_FAILURE; result = EXIT_FAILURE;

Loading…
Cancel
Save