forked from xin/TowerOptoSifAndSpectral
机载第一版
This commit is contained in:
4
main.cpp
4
main.cpp
@ -60,6 +60,8 @@ int main(int argc, char *argv[])
|
||||
iRet0 = system("gpio mode 1 out");
|
||||
iRet1 = system("gpio mode 4 out");
|
||||
iRet2 = system("gpio mode 5 out");
|
||||
system("gpio mode 13 input");
|
||||
system("gpio write 13 0");
|
||||
iRet3 = system("gpio write 1 1");//上电
|
||||
|
||||
qDebug() << "gpio 1;4;5; ready"<<" Ret:"<< iRet0<< iRet1<< iRet2<< endl;
|
||||
@ -128,7 +130,7 @@ int main(int argc, char *argv[])
|
||||
m_pqUploaderThreadHolder->start();
|
||||
|
||||
m_mdgGrabber.Init_Self();
|
||||
m_sTimer.Preheating();
|
||||
//m_sTimer.Preheating();
|
||||
m_sTimer.SelfStart();
|
||||
//////////////////////////////////////////////////////////////////////////test
|
||||
// DataFileProcessor testdp;
|
||||
|
||||
Reference in New Issue
Block a user