Added postInit() function to debug tool interface, for outputting any debug-tool-specific info after initialisation.

Removed `getFirmwareVersionString()` function
This commit is contained in:
Nav
2024-07-23 21:44:15 +01:00
parent dd80c254a2
commit 8f7c3bc1be
6 changed files with 21 additions and 22 deletions

View File

@@ -496,11 +496,12 @@ namespace TargetController
Logger::info("Connecting to debug tool");
this->debugTool->init();
Logger::info("Debug tool connected");
this->debugTool->postInit();
Logger::info("Debug tool name: " + this->debugTool->getName());
Logger::info("Debug tool serial: " + this->debugTool->getSerialNumber());
Logger::info("Debug tool firmware version: " + this->debugTool->getFirmwareVersionString());
this->target = this->constructTarget(*briefTargetDescriptor);