From 8445c54f01777513912d4c6d36c28e92a0ff33a0 Mon Sep 17 00:00:00 2001
From: chenlh <2008get@163.com>
Date: 星期四, 18 九月 2025 14:40:53 +0800
Subject: [PATCH] 首轮测试代码提交

---
 src/scene.cpp |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/scene.cpp b/src/scene.cpp
index afcac4d..603de68 100644
--- a/src/scene.cpp
+++ b/src/scene.cpp
@@ -14,6 +14,7 @@
 #include "protocol_internal.h"
 #include "moduleexport.h"
 #include "crc.h"
+#include "../drv/memory.h"
 
 s32 Scene::str_delim(const s8* str, u16 logic_channel[])
 {
@@ -91,7 +92,7 @@
 			mixer->mType = ModuleType::PROC_MIXER;
 			mixer->mTag = 0;
 			mixer->mPhyModule = 0;
-			mixer->mParamaddr = (s32)get_module_param_ptr(p->parameters,p->fixed);
+			mixer->mParamaddr = (s32)get_module_param_ptr(mixer->mType, p->parameters, p->fixed);
 
 			size += sizeof(struct Module);
 
@@ -125,7 +126,7 @@
 		m->mType = p->proc_type;
 		m->mTag = p->tag;
 		m->mPhyModule = p->physic_type;
-		m->mParamaddr = (s32)get_module_param_ptr(p->parameters,p->fixed);
+		m->mParamaddr = (s32)get_module_param_ptr(m->mType, p->parameters, p->fixed);
 
 		size += sizeof(struct Module);
 		m->mRxNum = ninports;
@@ -138,6 +139,10 @@
 			for(j = 0 ; j< ninports ;j ++, phy_id++) {
 				phy_id->mIntType = 0;
 				phy_id->mPhyID = hw_adapter->get_physical_channel(1, rxBufID[j]-1);
+<<<<<<< HEAD
+//				printf("PhyID:%d\n", phy_id->mPhyID);
+=======
+>>>>>>> 0d5b7df96a2ee186b7b085dca9cf9a33f791c430
 			}
 			size += ninports*sizeof(PhyPort);
 		}

--
Gitblit v1.9.3