/* Called from the IRQ interrupts, which are generated on button pushes. Send ucCommand to the task on the button command queue if lcdMIN_TIME_BETWEEN_INTERRUPTS_MS milliseconds have passed since the button was last pushed (for debouncing).  */
static portBASE_TYPE prvSendCommandOnDebouncedInput(portTickType *pxTimeLastInterrupt, unsigned char ucCommand)
/* Called from the IRQ interrupts, which are generated on button pushes. Send ucCommand to the task on the button command queue if lcdMIN_TIME_BETWEEN_INTERRUPTS_MS milliseconds have passed since the button was last pushed (for debouncing).  */
static portBASE_TYPE prvSendCommandOnDebouncedInput(portTickType *pxTimeLastInterrupt, unsigned char ucCommand)
{
portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
portTickType xCurrentTickCount;
	xCurrentTickCount = xTaskGetTickCountFromISR();
	if( ( xCurrentTickCount - *pxTimeLastInterrupt ) > lcdMIN_TIME_BETWEEN_INTERRUPTS_MS )
	{
		xQueueSendToBackFromISR( xButtonCommandQueue, &ucCommand, &xHigherPriorityTaskWoken );
	}	*pxTimeLastInterrupt = xCurrentTickCount;
	return xHigherPriorityTaskWoken;
}