From 30303d366d1a0d857357c90bed876686f2d1e603 Mon Sep 17 00:00:00 2001
From: yincheng.zhong <634916154@qq.com>
Date: 星期二, 18 十一月 2025 19:44:21 +0800
Subject: [PATCH] 添加新的文件

---
 STM32H743/APL/app.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/STM32H743/APL/app.c b/STM32H743/APL/app.c
index 6f440d6..2b55a48 100644
--- a/STM32H743/APL/app.c
+++ b/STM32H743/APL/app.c
@@ -15,6 +15,7 @@
 #include "TCPClient.h"
 #include "SBUS.h"
 #include "pwm_ctrol.h"
+#include "PythonLink.h"
 static osSemaphoreId_t g_semaphoreHandle = NULL;
 extern uint8_t restart_num;
 void IdleTask(void)
@@ -42,10 +43,11 @@
     TCPClient_Init();
 	BT_Init();
     SBUS_Init();
+    PythonLink_Init();
     while (1)
     {
         //HIDO_UINT32 timeout = HIDO_TimerGetNearestTimeout(1000);
-        HIDO_UINT32 timeout = 100;
+        HIDO_UINT32 timeout = 5;
         if (xSemaphoreTake(g_semaphoreHandle, timeout / portTICK_PERIOD_MS) == pdTRUE)
         {
 
@@ -53,6 +55,7 @@
         DBG_Poll();
         BT_Poll();
         SBUS_Poll();
+        PythonLink_Poll();
         HIDO_ATLitePoll();
         Internet_Poll();
         GPS_Poll();

--
Gitblit v1.9.3