const and bad OR

This commit is contained in:
iceman1001 2024-09-06 09:52:30 +02:00
commit b0dd246d94
6 changed files with 24 additions and 15 deletions

View file

@ -82,7 +82,7 @@ https://github.com/ApertureLabsLtd/RFIDler/blob/master/firmware/Pic32/RFIDler.X/
*/
// convert hex to sequence of 0/1 bit values
// returns number of bits converted
int hex2binarray(char *target, char *source) {
int hex2binarray(char *target, const char *source) {
return hex2binarray_n(target, source, strlen(source));
}