Added beeper, moved bsp init into separate function

This commit is contained in:
Dominik Kotarski
2019-03-20 08:29:23 +01:00
parent cf678537eb
commit ebefbfc65e
8 changed files with 15387 additions and 2589 deletions
+1 -1
View File
@@ -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