forked from GerhardHoffmann/DCLibraries
dCArun: use DigitalOutputAbstraction
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "CArun.h"
|
||||
#include "datei.h"
|
||||
|
||||
#include "CCWakelineAbstraction.h"
|
||||
#include "DigitalOutputAbstraction.h"
|
||||
|
||||
|
||||
CArun::CArun(QObject *parent)
|
||||
@@ -20,7 +20,10 @@ CArun::CArun(QObject *parent)
|
||||
|
||||
this->timerChainCtrl->start();
|
||||
|
||||
this->ccWakelineAbstraction = new CCWakelineAbstraction(this->HWaccess, this);
|
||||
this->digitalOutputAbstraction = new DigitalOutputAbstraction(this->HWaccess, this);
|
||||
this->digitalOutputAbstraction->addCCWake("/sys/class/leds/wakeupctrl_cc/brightness");
|
||||
this->digitalOutputAbstraction->addCCPower("/run/powerctrl_cc");
|
||||
this->digitalOutputAbstraction->addCCModem("/run/powerctrl_modem");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user