From 1d309eeea6f95befc64d721ba4e3ddaab2eee96c Mon Sep 17 00:00:00 2001 From: xin Date: Mon, 28 Feb 2022 17:23:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=A5=E7=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/main.cpp b/main.cpp index f52e0da..f02ae9f 100644 --- a/main.cpp +++ b/main.cpp @@ -19,7 +19,7 @@ int main(int argc, char *argv[]) QCoreApplication a(argc, argv); - system("gpio mode 1 output");//¿ØÖÆÕë½Å³õʼ»¯ + system("gpio mode 1 output");//������ų�ʼ�� qDebug() << "gpio mode 1 output......" << endl; ////////////////////////////////////////////////////////////////////////// //// @@ -49,9 +49,10 @@ int main(int argc, char *argv[]) QT_LOG::ZZ_InitLogger("/home/data/Log/"); //////////////////////////////////////////////////////////////////////////config ///turn on power supply - system("gpio write 1 1");//É豸Éϵç + system("gpio mode 1 out"); + system("gpio write 1 1");//�豸�ϵ� qDebug() << "gpio write 1 1......" << endl; - + QThread::msleep(5000); bRes = m_scConfiggerLoader.Initialize(); if (bRes) {