[c-host] increase the queue length and remove debug output

This commit is contained in:
Geoffrey McRae 2020-01-29 22:05:47 +11:00
parent dc4d820666
commit b0f9f15a60
2 changed files with 2 additions and 3 deletions

View File

@ -1 +1 @@
B1-140-gcc2c49644d+1 B1-141-g939bb07603+1

View File

@ -41,7 +41,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
#define ALIGN_UP(x) ALIGN_DN(x + 0x7F) #define ALIGN_UP(x) ALIGN_DN(x + 0x7F)
#define LGMP_Q_FRAME_LEN 2 #define LGMP_Q_FRAME_LEN 2
#define LGMP_Q_POINTER_LEN 20 #define LGMP_Q_POINTER_LEN 40
static const struct LGMPQueueConfig FRAME_QUEUE_CONFIG = static const struct LGMPQueueConfig FRAME_QUEUE_CONFIG =
{ {
@ -288,7 +288,6 @@ bool captureGetPointerBuffer(void ** data, uint32_t * size)
// spin until there is room // spin until there is room
while(lgmpHostQueuePending(app.pointerQueue) == LGMP_Q_POINTER_LEN) while(lgmpHostQueuePending(app.pointerQueue) == LGMP_Q_POINTER_LEN)
{ {
DEBUG_INFO("pending");
if (!app.running) if (!app.running)
return false; return false;
} }