feat(radio): OS compatibility layer (#5840)

This commit is contained in:
Raphael Coeffic
2025-05-03 19:07:49 +10:00
committed by GitHub
parent c996612b0a
commit ab2a19e153
92 changed files with 1740 additions and 896 deletions
+5 -3
View File
@@ -19,11 +19,13 @@
* GNU General Public License for more details.
*/
#include "edgetx.h"
#include "mixer_scheduler.h"
#include "tasks/mixer_task.h"
#include "hal/usb_driver.h"
#include "dataconstants.h"
#include <string.h>
bool mixerSchedulerWaitForTrigger(uint8_t timeoutMs)
{
#if !defined(SIMU)
@@ -111,10 +113,10 @@ void mixerSchedulerISRTrigger()
/* At this point xTaskToNotify should not be NULL as
a transmission was in progress. */
configASSERT( mixerTaskId.rtos_handle != NULL );
configASSERT( mixerTaskId._rtos_handle != NULL );
/* Notify the task that the transmission is complete. */
vTaskNotifyGiveFromISR( mixerTaskId.rtos_handle,
vTaskNotifyGiveFromISR( mixerTaskId._rtos_handle,
&xHigherPriorityTaskWoken );
/* If xHigherPriorityTaskWoken is now set to pdTRUE then a