Use type name directly

This commit is contained in:
Miodrag Milanovic 2023-05-26 13:13:41 +02:00 committed by myrtle
parent adacaf65f4
commit 053d89570f

View File

@ -1163,7 +1163,7 @@ class MachXO2Packer
}
}
if (!found)
log_error("Unsupported frequency '%s' on %s '%s'\n", freq.c_str(), ci->type == id_OSCH ? "OSCH" : "OSCJ", ci->name.c_str(ctx));
log_error("Unsupported frequency '%s' on %s '%s'\n", freq.c_str(), ci->type.c_str(ctx), ci->name.c_str(ctx));
}
}
}