Renamed 'updateDwenFuseBit' AVR8 param to 'manageDwenFuseBit'

This commit is contained in:
Nav
2022-09-18 13:02:33 +01:00
parent 42c42203c2
commit 8bec04e15a
3 changed files with 10 additions and 5 deletions

View File

@@ -27,8 +27,13 @@ namespace Bloom::Targets::Microchip::Avr::Avr8Bit
this->physicalInterface = Avr8TargetConfig::debugPhysicalInterfacesByConfigName.at(physicalInterfaceName);
// The 'manageDwenFuseBit' param used to be 'updateDwenFuseBit' - we still support the old, for now.
if (targetNode["updateDwenFuseBit"]) {
this->updateDwenFuseBit = targetNode["updateDwenFuseBit"].as<bool>();
this->manageDwenFuseBit = targetNode["updateDwenFuseBit"].as<bool>();
}
if (targetNode["manageDwenFuseBit"]) {
this->manageDwenFuseBit = targetNode["manageDwenFuseBit"].as<bool>();
}
if (targetNode["cycleTargetPowerPostDwenUpdate"]) {