kopia lustrzana https://github.com/stlink-org/stlink
[fix] GDB listening port, temporary. needs better command line parsing.
rodzic
502a540519
commit
ea11de2d8b
|
@ -176,9 +176,7 @@ int main(int argc, char** argv) {
|
|||
int port;
|
||||
|
||||
if(argc == 1) {
|
||||
// not on 64bit?
|
||||
//srand((unsigned int)&port);
|
||||
port = rand()/65535;
|
||||
port = rand() & 0xffff;
|
||||
}
|
||||
else {
|
||||
port = atoi(argv[1]);
|
||||
|
|
Ładowanie…
Reference in New Issue