Added beeper, moved bsp init into separate function
This commit is contained in:
@@ -36,6 +36,7 @@ extern uint8_t irFlag;
|
||||
extern QueueHandle_t interruptSourceQueue;
|
||||
IOEXP_INT_SOURCE intSourceSend = IOEXP_INT_SOURCE::NOTHING;
|
||||
IOEXP_INT_SOURCE intSourceRecv = IOEXP_INT_SOURCE::NOTHING;
|
||||
|
||||
/**
|
||||
* @brief A flag to help with initial drawing of the joystick example
|
||||
*
|
||||
@@ -108,7 +109,6 @@ void getInterruptSourceFunction(void *arg)
|
||||
xQueueSendToBack(interruptSourceQueue,
|
||||
(void *) &intSourceSend,
|
||||
((TickType_t)TICKS_TO_BLOCK_DEFAULT) != pdPASS);
|
||||
|
||||
xTimerReset(intFlagTimer ,TICKS_TO_BLOCK_DEFAULT);
|
||||
}
|
||||
// give other code a chance to execute since we have a higher
|
||||
|
||||
Reference in New Issue
Block a user