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
+3 -3
View File
@@ -42,8 +42,8 @@ volatile static bool touchEventOccured;
static tc_handle_TypeDef tc_handle = {0, 0};
tmr10ms_t downTime = 0;
tmr10ms_t tapTime = 0;
uint32_t downTime = 0;
uint32_t tapTime = 0;
short tapCount = 0;
#define TAP_TIME 250 // ms
@@ -251,7 +251,7 @@ TouchState touchPanelRead()
touchEventOccured = false;
tmr10ms_t now = RTOS_GET_MS();
uint32_t now = timersGetMsTick();
internalTouchState.tapCount = 0;
if (cst836u_TS_DetectTouch()) {