From c0f79e777d47c70666ecae712c32fc2c3846ec7b Mon Sep 17 00:00:00 2001 From: Nav Date: Sat, 5 Mar 2022 18:05:31 +0000 Subject: [PATCH] Tidying --- src/Targets/Microchip/AVR/AVR8/Avr8.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Targets/Microchip/AVR/AVR8/Avr8.cpp b/src/Targets/Microchip/AVR/AVR8/Avr8.cpp index 7e5c885e..f5038268 100644 --- a/src/Targets/Microchip/AVR/AVR8/Avr8.cpp +++ b/src/Targets/Microchip/AVR/AVR8/Avr8.cpp @@ -136,7 +136,6 @@ namespace Bloom::Targets::Microchip::Avr::Avr8Bit try { this->avr8DebugInterface->activate(); - this->activated = true; } catch (const Exceptions::DebugWirePhysicalInterfaceError& debugWireException) { if (!this->updateDwenFuseBitOnDebugWireFailure) { @@ -159,10 +158,10 @@ namespace Bloom::Targets::Microchip::Avr::Avr8Bit } Logger::info("Retrying debugWire physical interface activation"); - this->avr8DebugInterface->activate(); - this->activated = true; } + + this->activated = true; } void Avr8::deactivate() {