]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
Add another #ifdef for the __BIONIC__ fix (the effect of setting p_thread to 0 is...
authorpwpiwi <pwpiwi@users.noreply.github.com>
Sat, 6 Oct 2018 15:48:43 +0000 (17:48 +0200)
committerpwpiwi <pwpiwi@users.noreply.github.com>
Sat, 6 Oct 2018 15:48:43 +0000 (17:48 +0200)
client/comms.c

index 86dca3ed425022276c4c976de85ec15bd63b4f79..0c4efa739fa45e5ffb492b67b5054238356a910c 100644 (file)
@@ -364,7 +364,9 @@ void CloseProxmark(void) {
        // Clean up our state
        sp = NULL;
        serial_port_name = NULL;
+#ifdef __BIONIC__
        memset(&USB_communication_thread, 0, sizeof(pthread_t));
+#endif
 }
 
 
Impressum, Datenschutz