From ba3eabec2c71c694d4dfaebb6fd224cf50d87fcd Mon Sep 17 00:00:00 2001 From: Siegfried Siegert Date: Thu, 22 Jun 2023 14:50:56 +0200 Subject: [PATCH] Execute diagRequest() on mode change to IDLE (i.e. after vending) --- src/ATBAPP/ATBDeviceControllerPlugin.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ATBAPP/ATBDeviceControllerPlugin.cpp b/src/ATBAPP/ATBDeviceControllerPlugin.cpp index e55a044..486254a 100644 --- a/src/ATBAPP/ATBDeviceControllerPlugin.cpp +++ b/src/ATBAPP/ATBDeviceControllerPlugin.cpp @@ -100,6 +100,9 @@ void ATBDeviceControllerPlugin::onChangedProgramModeToSERVICE() void ATBDeviceControllerPlugin::onChangedProgramModeToIDLE() { //hw->dc_autoRequest(false); // <-- TODO: ??? + + this->diag->diagRequest(); + } void ATBDeviceControllerPlugin::onChangedProgramModeToOOO()