fix to have an happy CI

This commit is contained in:
Gwenhael Goavec-Merou
2025-03-18 23:02:11 +01:00
parent 414a7259f0
commit 4c4f48ea93
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -486,7 +486,7 @@ void Altera::max10_program(unsigned int offset)
if (_flash_sectors.size() > 0) {
const std::vector<std::string> sectors = splitString(_flash_sectors, ',');
update_sectors = 0;
for (const auto sector: sectors) {
for (const auto &sector: sectors) {
if (sector == "UFM1")
update_sectors |= (1 << 0);
else if (sector == "UFM0")