Tidying
This commit is contained in:
@@ -157,8 +157,9 @@ void Application::startup() {
|
|||||||
this->startSignalHandler();
|
this->startSignalHandler();
|
||||||
|
|
||||||
Logger::info("Selected environment: \"" + this->selectedEnvironmentName + "\"");
|
Logger::info("Selected environment: \"" + this->selectedEnvironmentName + "\"");
|
||||||
Logger::debug("Number of environments extracted from config: "
|
Logger::debug(
|
||||||
+ std::to_string(this->projectConfig->environments.size()));
|
"Number of environments extracted from config: " + std::to_string(this->projectConfig->environments.size())
|
||||||
|
);
|
||||||
|
|
||||||
applicationEventListener->registerCallbackForEventType<Events::TargetControllerThreadStateChanged>(
|
applicationEventListener->registerCallbackForEventType<Events::TargetControllerThreadStateChanged>(
|
||||||
std::bind(&Application::onTargetControllerThreadStateChanged, this, std::placeholders::_1)
|
std::bind(&Application::onTargetControllerThreadStateChanged, this, std::placeholders::_1)
|
||||||
|
|||||||
@@ -31,13 +31,6 @@
|
|||||||
|
|
||||||
#include "src/VersionNumber.hpp"
|
#include "src/VersionNumber.hpp"
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Bloom - a debug interface for embedded systems development on Linux.
|
|
||||||
*
|
|
||||||
* This is the main entry-point of execution for the Bloom program. The methods within will run on the main
|
|
||||||
* thread. If Insight is enabled, execution will be passed over to Insight::run() upon start up.
|
|
||||||
*/
|
|
||||||
class Application: public QObject, public Thread
|
class Application: public QObject, public Thread
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
@@ -68,7 +61,7 @@ private:
|
|||||||
*
|
*
|
||||||
* See the SignalHandler class for more on this.
|
* See the SignalHandler class for more on this.
|
||||||
*/
|
*/
|
||||||
SignalHandler signalHandler = SignalHandler();
|
SignalHandler signalHandler = {};
|
||||||
std::thread signalHandlerThread;
|
std::thread signalHandlerThread;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -518,11 +518,10 @@ namespace TargetController
|
|||||||
Logger::info("Activating target");
|
Logger::info("Activating target");
|
||||||
this->target->activate();
|
this->target->activate();
|
||||||
Logger::info("Target activated");
|
Logger::info("Target activated");
|
||||||
|
Logger::info("Target name: " + this->targetDescriptor->name);
|
||||||
|
|
||||||
this->target->postActivate();
|
this->target->postActivate();
|
||||||
|
|
||||||
Logger::info("Target name: " + this->targetDescriptor->name);
|
|
||||||
|
|
||||||
this->targetState = std::make_unique<TargetState>(
|
this->targetState = std::make_unique<TargetState>(
|
||||||
TargetExecutionState::UNKNOWN,
|
TargetExecutionState::UNKNOWN,
|
||||||
TargetMode::DEBUGGING,
|
TargetMode::DEBUGGING,
|
||||||
|
|||||||
Reference in New Issue
Block a user