Browse Source

debug driver initialization

pull/450/head
Christoph Kuhr 7 years ago
parent
commit
0dd5fc9c2b
1 changed files with 1 additions and 16 deletions
  1. +1
    -16
      linux/avb/JackAVBDriver.cpp

+ 1
- 16
linux/avb/JackAVBDriver.cpp View File

@@ -226,21 +226,6 @@ JackAVBPDriver::FreePorts ()
extern "C"
{
#endif
inline char hexDigit(unsigned n)
{
if (n < 10) {
return n + '0';
} else {
return (n - 10) + 'A';
}
}


inline void charToHex(char c, char *hex)
{
hex[0] = hexDigit(c / 0x10);
hex[1] = hexDigit(c % 0x10);
}

inline int argumentsSplitDelimiters(char* inputString, char* outputArray, int array_len)
{
@@ -254,7 +239,7 @@ extern "C"
// printf("m=%d\t %s. ",m,outputArray[m]);fflush(stdout);

// outputArray[m] = strdup(token);
printf("%s\n", strdup(token));fflush(stdout);
printf("%d\n", (int)strtol(strdup(token), NULL, 16); // number base 16 );fflush(stdout);
} else {
tokenCnt = m;
break;


Loading…
Cancel
Save