Construct an AVR8 TDF via a TargetSignature object, as opposed to the signature hex value.

This commit is contained in:
Nav
2021-06-03 00:25:54 +01:00
parent 5f580cc387
commit 104ec95a65
4 changed files with 6 additions and 5 deletions

View File

@@ -37,7 +37,7 @@ namespace Bloom::Targets::Microchip::Avr
this->byteTwo = static_cast<unsigned char>(signature);
}
std::string toHex() {
std::string toHex() const {
std::stringstream stream;
stream << std::hex << std::setfill('0');
stream << std::setw(2) << static_cast<unsigned int>(this->byteZero);