This commit is contained in:
Nav
2021-04-06 02:10:14 +01:00
parent 2fd045e056
commit 7a28f93ee9
85 changed files with 319 additions and 1177 deletions

View File

@@ -1,6 +1,5 @@
#pragma once
#include <src/Logger/Logger.hpp>
#include <sstream>
#include <iomanip>
@@ -14,16 +13,6 @@ namespace Bloom::Targets::Microchip::Avr
protected:
std::optional<TargetSignature> id;
virtual void setId(unsigned char byteZero, unsigned char byteOne, unsigned char byteTwo) {
if (!this->id.has_value()) {
this->id = TargetSignature();
}
this->id->byteZero = byteZero;
this->id->byteOne = byteOne;
this->id->byteTwo = byteTwo;
}
virtual void setId(const TargetSignature& id) {
this->id = id;
}