fix: usb_cdc don't report that pm3 device is selfpowered.. (since its not by default)

This commit is contained in:
iceman1001 committed 2017-10-29 19:28:23 +01:00
1 parent 76e139701a
commit b5842e8c1b
2 files changed
+6 -4

No files matched your search

+2 -3
View File
@@ -1166,9 +1166,8 @@ int CmdHF14AMfNestedHard(const char *Cmd) {
return 0;
}
int randInRange(int min, int max)
{
return min + (int) (rand() / (double) (RAND_MAX + 1) * (max - min + 1));
int randInRange(int min, int max) {
return min + (int) (rand() / (double) (RAND_MAX + 1) * (max - min + 1));
}
//Fisher–Yates shuffle