Add interface method reboot()
This commit is contained in:
parent
efa595edb9
commit
a0d7f98175
@ -113,10 +113,19 @@ void ATBDeviceControllerPlugin::stopPhysicalLayer()
|
||||
}
|
||||
|
||||
|
||||
void ATBDeviceControllerPlugin::reboot()
|
||||
{
|
||||
// note:
|
||||
// - dc reset lasts about ~5s !
|
||||
// - makes a power cycle to certain components, e.g. card terminal
|
||||
hw->bl_rebootDC();
|
||||
}
|
||||
|
||||
void ATBDeviceControllerPlugin::reset()
|
||||
{
|
||||
// note: dc reset lasts about ~5s !
|
||||
// note:
|
||||
// - dc reset lasts about ~5s !
|
||||
// - makes a power cycle to certain components, e.g. card terminal
|
||||
hw->dc_OrderToReset();
|
||||
}
|
||||
|
||||
|
@ -73,6 +73,7 @@ public slots:
|
||||
|
||||
void startPhysicalLayer();
|
||||
void stopPhysicalLayer();
|
||||
void reboot();
|
||||
void reset();
|
||||
|
||||
|
||||
|
@ -83,6 +83,7 @@ public slots:
|
||||
|
||||
virtual void startPhysicalLayer() = 0;
|
||||
virtual void stopPhysicalLayer() = 0;
|
||||
virtual void reboot() = 0;
|
||||
virtual void reset() = 0;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user