added the changes from PM3 master.
added some code for the AWID26
This commit is contained in:
@@ -468,6 +468,9 @@ uint32_t PackBits(uint8_t start, uint8_t len, uint8_t* bits){
|
||||
|
||||
int i = start;
|
||||
int j = len-1;
|
||||
if (len > 32) {
|
||||
return 0;
|
||||
}
|
||||
uint32_t tmp = 0;
|
||||
for (; j >= 0; --j, ++i){
|
||||
tmp |= bits[i] << j;
|
||||
|
||||
Reference in New Issue
Block a user