Updated application to code to accomodate changes to TDF format (new pad elements and changes to variant elements)
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
#include "TargetPinDescriptor.hpp"
|
||||
|
||||
#include "src/Services/StringService.hpp"
|
||||
|
||||
namespace Targets
|
||||
{
|
||||
TargetPinDescriptor::TargetPinDescriptor(
|
||||
const std::string& padName,
|
||||
const std::string& position,
|
||||
TargetPinType type
|
||||
const std::optional<std::string>& padKey
|
||||
)
|
||||
: padName(padName)
|
||||
, position(position)
|
||||
, type(type)
|
||||
: position(position)
|
||||
, numericPosition(Services::StringService::toUint16(this->position, 10))
|
||||
, padKey(padKey)
|
||||
{}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user