Corrected bug in AVR8 TDF validation for targets with PDI support

This commit is contained in:
Nav
2021-06-28 23:52:32 +01:00
parent 18ba67534a
commit 5a16e59528

View File

@@ -450,7 +450,7 @@ class Avr8TargetDescriptionFile extends TargetDescriptionFile
}
}
if ($this->debugPhysicalInterface == self::AVR8_PHYSICAL_INTERFACE_PDI) {
if (in_array(self::AVR8_PHYSICAL_INTERFACE_PDI, $this->debugPhysicalInterface)) {
if (is_null($this->appSectionPdiOffset)) {
$failures[] = 'Missing app section PDI offset.';
}