Add interface method reset()

This commit is contained in:
Siegfried Siegert 2023-07-05 10:22:41 +02:00
parent 3071a92a3c
commit efa595edb9
Signed by: SiegfriedSiegert
GPG Key ID: 68371E015E8F0B03
3 changed files with 7 additions and 0 deletions

View File

@ -114,6 +114,11 @@ void ATBDeviceControllerPlugin::stopPhysicalLayer()
void ATBDeviceControllerPlugin::reset()
{
// note: dc reset lasts about ~5s !
hw->dc_OrderToReset();
}

View File

@ -73,6 +73,7 @@ public slots:
void startPhysicalLayer(); void startPhysicalLayer();
void stopPhysicalLayer(); void stopPhysicalLayer();
void reset();

View File

@ -83,6 +83,7 @@ public slots:
virtual void startPhysicalLayer() = 0; virtual void startPhysicalLayer() = 0;
virtual void stopPhysicalLayer() = 0; virtual void stopPhysicalLayer() = 0;
virtual void reset() = 0;
signals: signals: