mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 21:33:47 -07:00
missing return
This commit is contained in:
parent
115e85e5d4
commit
e94a653038
2 changed files with 2 additions and 2 deletions
|
@ -959,7 +959,7 @@ int hextobinstring_n(char *target, char *source, int sourcelen) {
|
|||
}
|
||||
|
||||
// convert bytes to binary string
|
||||
int byte_2_binstr(char *target, const uint8_t *source, size_t sourcelen) {
|
||||
void byte_2_binstr(char *target, const uint8_t *source, size_t sourcelen) {
|
||||
//uint8_t *p = *source;
|
||||
for (int i = 0 ; i < sourcelen; ++i) {
|
||||
uint8_t b = *(source++);
|
||||
|
|
|
@ -122,7 +122,7 @@ int binarraytohex(char *target, const size_t targetlen, const char *source, size
|
|||
void binarraytobinstring(char *target, char *source, int length);
|
||||
int binstring2binarray(uint8_t *target, char *source, int length);
|
||||
|
||||
int byte_2_binstr(char *target, const uint8_t *source, size_t sourcelen);
|
||||
void byte_2_binstr(char *target, const uint8_t *source, size_t sourcelen);
|
||||
|
||||
uint8_t GetParity(const uint8_t *bits, uint8_t type, int length);
|
||||
void wiegand_add_parity(uint8_t *target, uint8_t *source, uint8_t length);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue