mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-06 08:08:53 +08:00
style
This commit is contained in:
parent
82e71d7815
commit
58d8fa0e3b
1 changed files with 2 additions and 2 deletions
|
@ -481,8 +481,8 @@ void askAmp(uint8_t *bits, size_t size) {
|
|||
uint32_t manchesterEncode2Bytes(uint16_t datain) {
|
||||
uint32_t output = 0;
|
||||
for (uint8_t i = 0; i < 16; i++) {
|
||||
uint8_t curBit = (datain >> (15 - i) & 1);
|
||||
output |= (1 << (((15 - i) * 2) + curBit));
|
||||
uint8_t b = (datain >> (15 - i) & 1);
|
||||
output |= (1 << (((15 - i) * 2) + b));
|
||||
}
|
||||
return output;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue