mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
text
This commit is contained in:
parent
2d1f7adb03
commit
a86bd9464f
1 changed files with 1 additions and 1 deletions
|
@ -450,7 +450,7 @@ void num_to_bytebits(uint64_t n, size_t len, uint8_t *dest) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//least significant bit first
|
// least significant bit (lsb) first
|
||||||
void num_to_bytebitsLSBF(uint64_t n, size_t len, uint8_t *dest) {
|
void num_to_bytebitsLSBF(uint64_t n, size_t len, uint8_t *dest) {
|
||||||
for (size_t i = 0 ; i < len ; ++i) {
|
for (size_t i = 0 ; i < len ; ++i) {
|
||||||
dest[i] = n & 1;
|
dest[i] = n & 1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue