remove comment
This commit is contained in:
parent
585e6234ff
commit
4ce89c1b00
|
|
@ -1708,7 +1708,6 @@ void Xilinx::xc2c_init(uint32_t idcode)
|
||||||
std::string model = fpga_list[idcode].model;
|
std::string model = fpga_list[idcode].model;
|
||||||
int underscore_pos = model.find_first_of('_', 0);
|
int underscore_pos = model.find_first_of('_', 0);
|
||||||
if (underscore_pos == model.npos) {
|
if (underscore_pos == model.npos) {
|
||||||
// not underscore
|
|
||||||
underscore_pos = model.length();
|
underscore_pos = model.length();
|
||||||
}
|
}
|
||||||
snprintf(_cpld_base_name, underscore_pos,
|
snprintf(_cpld_base_name, underscore_pos,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue