Initial changes to remove xud dependancies when compiling with NO_USB=1

This commit is contained in:
Ed Clarke
2017-06-29 09:48:59 +01:00
parent c351c901bf
commit 721ee98ea4
15 changed files with 38 additions and 18 deletions

View File

@@ -1,3 +1,4 @@
#ifndef NO_USB
#include "xud.h"
extern XUD_BusSpeed_t g_curUsbSpeed;
@@ -48,3 +49,5 @@ void GetADCCounts(unsigned samFreq, int *min, int *mid, int *max)
}
}
#endif /* NO_USB */