[Horus] Debug variable added for the audio buffer count. This one is incremented correctly.

This commit is contained in:
Bertrand Songis
2016-01-15 12:23:55 +01:00
parent 677995205d
commit 1771a47637
6 changed files with 35 additions and 28 deletions
+4 -2
View File
@@ -328,12 +328,14 @@ int cliDisplay(const char ** argv)
int cliDebugVars(const char ** argv)
{
#if defined(PCBHORUS) && !defined(SIMU)
extern unsigned int ioMutexReq, ioMutexRel;
extern unsigned int sdReadRetries;
extern uint32_t ioMutexReq, ioMutexRel;
extern uint32_t sdReadRetries;
extern uint32_t audioBufferCount;
serialPrint("ioMutexReq=%d", ioMutexReq);
serialPrint("ioMutexRel=%d", ioMutexRel);
serialPrint("sdReadRetries=%d", sdReadRetries);
serialPrint("audioBufferCount=%d", audioBufferCount);
#endif
return 0;
}