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:
parent
cf8bd26506
commit
8f2ee508a5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue