Skip to content

Instantly share code, notes, and snippets.

@Maxdamantus
Created September 27, 2015 09:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Maxdamantus/d607903103bd63667fee to your computer and use it in GitHub Desktop.
Save Maxdamantus/d607903103bd63667fee to your computer and use it in GitHub Desktop.
diff --git a/tklock.c b/tklock.c
index b628798..cfa1569 100644
--- a/tklock.c
+++ b/tklock.c
@@ -2338,7 +2338,7 @@ static void usb_cable_trigger(gconstpointer data)
switch (usb_cable_state) {
case USB_CABLE_CONNECTED:
if (is_tklock_enabled() == TRUE) {
- (void)disable_tklock(FALSE);
+ if (0) (void)disable_tklock(FALSE);
}
else
{
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment