From 72c0ce073e055c657339116c52bca0b14300bc96 Mon Sep 17 00:00:00 2001 From: leimingsheng Date: Wed, 10 Dec 2025 16:05:27 +0800 Subject: [PATCH] =?UTF-8?q?fix(plugin=20:=20platform=5F5280m7)=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8Ddetect=E6=97=B6=E4=B8=8D=E6=98=BE=E7=A4=BA=E6=8F=92?= =?UTF-8?q?=E6=A7=BD=E4=BF=A1=E6=81=AF=E5=BE=97=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nicsensor_v2/platform_5280m7.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nicsensor_v2/platform_5280m7.sh b/nicsensor_v2/platform_5280m7.sh index 047f5ea..54b175e 100644 --- a/nicsensor_v2/platform_5280m7.sh +++ b/nicsensor_v2/platform_5280m7.sh @@ -128,9 +128,9 @@ build_i2c_connect(){ # @Param5 pcie slot number do_i2c_detect(){ if [ "${nic_type}" == "ocp" ];then - $fmt_print "log" "Info" "OCP slot $5 : bus$1 9548channel$4" + $fmt_print "console" "Info" "OCP slot $5 : bus$1 9548channel$4" else - $fmt_print "log" "Info" "PCIe slot $5 : bus$1 9548channel$4" + $fmt_print "console" "Info" "PCIe slot $5 : bus$1 9548channel$4" fi i2ctransfer -y $1 w1@$2 $3 i2cdetect -y $1