From 7a60b614bafc023c1addde8d3d82d4a6f513850b Mon Sep 17 00:00:00 2001 From: "Travis F. Collins" Date: Wed, 26 Jun 2024 16:00:29 -0600 Subject: [PATCH] Add skip init features needed for stingray testing Signed-off-by: Travis F. Collins --- +adi/+AD9081/Tx.m | 11 +++++++++++ +adi/+common | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/+adi/+AD9081/Tx.m b/+adi/+AD9081/Tx.m index 0da57e95..8403ea82 100644 --- a/+adi/+AD9081/Tx.m +++ b/+adi/+AD9081/Tx.m @@ -153,6 +153,17 @@ %% API Functions methods (Hidden, Access = protected) + function setupImpl(obj, data) + if strcmp(obj.DataSource,'DMA') + setupImpl@adi.common.Tx(obj, data); + else + setupImpl@adi.common.Tx(obj, data); + end + if obj.SkipInit + obj.phyDev = getDev(obj, obj.phyDevName); + end + end + function setupInit(obj) % Write all attributes to device once connected through set % methods diff --git a/+adi/+common b/+adi/+common index 847122c6..7eb8b46e 160000 --- a/+adi/+common +++ b/+adi/+common @@ -1 +1 @@ -Subproject commit 847122c65828df2849236c34ec10375c4dab3689 +Subproject commit 7eb8b46e51571e7c13864e42d36fc4ad3cafa09d