exti working but something is fucked up in the job queue or tinyframe
This commit is contained in:
@@ -30,10 +30,12 @@ struct sched_que_item {
|
||||
union {
|
||||
TF_ID frame_id; // typically used to pass frame id to the callback
|
||||
void *data1; // arbitrary pointer or int
|
||||
uint32_t d32_1; // passing a number
|
||||
};
|
||||
/** Data word 2 */
|
||||
union {
|
||||
uint32_t d32; // passing a number
|
||||
uint32_t d32_2; // passing a number
|
||||
uint8_t *buf; // uchar buffer
|
||||
const uint8_t *cbuf; // const uchar buffer
|
||||
const char *str; // string
|
||||
@@ -43,6 +45,7 @@ struct sched_que_item {
|
||||
union {
|
||||
uint32_t len; // typically length of the buffer
|
||||
void *data3; // arbitrary pointer
|
||||
uint32_t d32_3; // passing a number
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
+2
-1
@@ -17,11 +17,12 @@ static void que_safe_post(struct rx_sched_combined_que_item *slot)
|
||||
if (inIRQ()) {
|
||||
BaseType_t xHigherPriorityTaskWoken = pdFALSE;
|
||||
assert_param(pdPASS == xQueueSendFromISR(queMsgJobHandle, slot, &xHigherPriorityTaskWoken));
|
||||
portYIELD_FROM_ISR(xHigherPriorityTaskWoken);
|
||||
|
||||
#if USE_STACK_MONITOR
|
||||
count = (uint32_t) uxQueueMessagesWaitingFromISR(queMsgJobHandle);
|
||||
#endif
|
||||
|
||||
portYIELD_FROM_ISR(xHigherPriorityTaskWoken);
|
||||
} else {
|
||||
assert_param(pdPASS == xQueueSend(queMsgJobHandle, slot, MSG_QUE_POST_TIMEOUT));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user