Tidying
This commit is contained in:
@@ -228,7 +228,8 @@ namespace Bloom
|
||||
void stopSignalHandler();
|
||||
|
||||
/**
|
||||
* Prepares a dedicated thread for the TargetController and kicks it off with a call to TargetController::run().
|
||||
* Prepares a dedicated thread for the TargetController and kicks it off with a call to
|
||||
* TargetControllerComponent::run().
|
||||
*/
|
||||
void startTargetController();
|
||||
|
||||
|
||||
@@ -942,7 +942,7 @@ namespace Bloom::TargetController
|
||||
* Insight has just started up.
|
||||
*
|
||||
* Refresh the target state and kick off a target stop/resume execution event. Setting the lastTargetState
|
||||
* to UNKNOWN will be enough to do this. See TargetController::fireTargetEvents().
|
||||
* to UNKNOWN will be enough to do this. See TargetControllerComponent::fireTargetEvents().
|
||||
*/
|
||||
this->lastTargetState = TargetState::UNKNOWN;
|
||||
}
|
||||
|
||||
@@ -75,8 +75,10 @@ namespace Bloom::TargetController
|
||||
|
||||
static inline ConditionVariableNotifier notifier = ConditionVariableNotifier();
|
||||
static inline std::condition_variable responsesByCommandIdCv = std::condition_variable();
|
||||
|
||||
/**
|
||||
* The TC starts off in a suspended state. TargetController::resume() is invoked from the startup routine.
|
||||
* The TC starts off in a suspended state. TargetControllerComponent::resume() is invoked from the startup
|
||||
* routine.
|
||||
*/
|
||||
TargetControllerState state = TargetControllerState::SUSPENDED;
|
||||
|
||||
|
||||
@@ -10,7 +10,8 @@ namespace Bloom::TargetController
|
||||
using namespace Bloom::Exceptions;
|
||||
|
||||
TargetControllerConsole::TargetControllerConsole(EventListener& eventListener)
|
||||
:eventListener(eventListener) {}
|
||||
: eventListener(eventListener)
|
||||
{}
|
||||
|
||||
TargetControllerState TargetControllerConsole::getTargetControllerState() {
|
||||
return this->triggerTargetControllerEventAndWaitForResponse(
|
||||
|
||||
@@ -79,7 +79,7 @@ namespace Bloom::Targets::Microchip::Avr::Avr8Bit
|
||||
*
|
||||
* We don't use this->getId() here as that could return the ID that was extracted from the target description
|
||||
* file (which it would, if the user specified the exact target name in their project config - see
|
||||
* Avr8::getId() and TargetController::getSupportedTargets() for more).
|
||||
* Avr8::getId() and TargetControllerComponent::getSupportedTargets() for more).
|
||||
*/
|
||||
auto targetSignature = this->avr8DebugInterface->getDeviceId();
|
||||
auto tdSignature = this->targetDescriptionFile->getTargetSignature();
|
||||
|
||||
@@ -157,7 +157,7 @@ namespace Bloom::Targets
|
||||
* Once at least one of the above conditions are met, the TargetController will break out of the loop and use
|
||||
* the last promoted target instance from there onwards.
|
||||
*
|
||||
* See TargetController::acquireHardware() for more on this.
|
||||
* See TargetControllerComponent::acquireHardware() for more on this.
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user