From 37a56658743d6d7ae31b66c65ada0c6011a8234d Mon Sep 17 00:00:00 2001 From: Nav Date: Sun, 13 Mar 2022 20:46:38 +0000 Subject: [PATCH] Removed the unnecessary throwing of an exception on debugWire activation/updating DWEN fuse bit failure. --- src/Targets/Microchip/AVR/AVR8/Avr8.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Targets/Microchip/AVR/AVR8/Avr8.cpp b/src/Targets/Microchip/AVR/AVR8/Avr8.cpp index c81248eb..1ddde9ed 100644 --- a/src/Targets/Microchip/AVR/AVR8/Avr8.cpp +++ b/src/Targets/Microchip/AVR/AVR8/Avr8.cpp @@ -154,11 +154,9 @@ namespace Bloom::Targets::Microchip::Avr::Avr8Bit this->updateDwenFuseBit(true); } catch (const Exception& exception) { - Logger::error( + throw Exception( "Failed to access/update DWEN fuse bit via ISP interface - " + exception.getMessage() ); - - throw debugWireException; } Logger::info("Retrying debugWire physical interface activation");