From: Ned Konz Date: Thu, 20 Oct 2011 01:39:26 +0000 (-0700) Subject: Fixed compile of flash program X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=d0e853ff2b8dfbb94b21f110d986f374016dfbc4;p=fw%2Fstlink Fixed compile of flash program --- diff --git a/flash/main.c b/flash/main.c index 3b9416d..0fd7232 100644 --- a/flash/main.c +++ b/flash/main.c @@ -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; }