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

This commit is contained in:
iceman1001 2017-10-29 19:28:23 +01:00
commit b5842e8c1b
2 changed files with 6 additions and 4 deletions

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));
}
//FisherYates shuffle