Fixed compile of flash program
authorNed Konz <ned@productcreationstudio.com>
Thu, 20 Oct 2011 01:39:26 +0000 (18:39 -0700)
committerNed Konz <ned@productcreationstudio.com>
Thu, 20 Oct 2011 01:39:26 +0000 (18:39 -0700)
flash/main.c

index 3b9416dff1b885f2d8714dacb7f60bf01b407bbd..0fd7232b9916d58c1bed823b48ed70e004afa289 100644 (file)
@@ -86,7 +86,7 @@ int main(int ac, char** av)
   }
   else /* stlinkv2 */
   {
-    sl = stlink_open_usb(NULL, 10);
+    sl = stlink_open_usb(10);
     if (sl == NULL) goto on_error;
   }