Made default value of reserveSteppingBreakpoint target config param vary across targets

This commit is contained in:
Nav
2024-11-24 19:33:28 +00:00
parent 7c647caa67
commit 899cbc92c4
4 changed files with 4 additions and 6 deletions

View File

@@ -819,7 +819,7 @@ namespace Targets::Microchip::Avr8
maxHardwareBreakpoints,
std::nullopt,
std::min(
static_cast<std::uint16_t>(this->targetConfig.reserveSteppingBreakpoint ? 1 : 0),
static_cast<std::uint16_t>(this->targetConfig.reserveSteppingBreakpoint.value_or(true) ? 1 : 0),
maxHardwareBreakpoints
)
};