missing return
This commit is contained in:
1 parent
115e85e5d4
commit
e94a653038
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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++);
|
||||
|
||||
Reference in new issue
Block a user