Tidying
This commit is contained in:
@@ -157,8 +157,9 @@ void Application::startup() {
|
||||
this->startSignalHandler();
|
||||
|
||||
Logger::info("Selected environment: \"" + this->selectedEnvironmentName + "\"");
|
||||
Logger::debug("Number of environments extracted from config: "
|
||||
+ std::to_string(this->projectConfig->environments.size()));
|
||||
Logger::debug(
|
||||
"Number of environments extracted from config: " + std::to_string(this->projectConfig->environments.size())
|
||||
);
|
||||
|
||||
applicationEventListener->registerCallbackForEventType<Events::TargetControllerThreadStateChanged>(
|
||||
std::bind(&Application::onTargetControllerThreadStateChanged, this, std::placeholders::_1)
|
||||
|
||||
@@ -31,13 +31,6 @@
|
||||
|
||||
#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
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -68,7 +61,7 @@ private:
|
||||
*
|
||||
* See the SignalHandler class for more on this.
|
||||
*/
|
||||
SignalHandler signalHandler = SignalHandler();
|
||||
SignalHandler signalHandler = {};
|
||||
std::thread signalHandlerThread;
|
||||
|
||||
/**
|
||||
|
||||
@@ -518,11 +518,10 @@ namespace TargetController
|
||||
Logger::info("Activating target");
|
||||
this->target->activate();
|
||||
Logger::info("Target activated");
|
||||
Logger::info("Target name: " + this->targetDescriptor->name);
|
||||
|
||||
this->target->postActivate();
|
||||
|
||||
Logger::info("Target name: " + this->targetDescriptor->name);
|
||||
|
||||
this->targetState = std::make_unique<TargetState>(
|
||||
TargetExecutionState::UNKNOWN,
|
||||
TargetMode::DEBUGGING,
|
||||
|
||||
Reference in New Issue
Block a user