mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-14 12:41:30 +00:00
fixing limit so we can detect if a list is the same size as the limit or truncated
This commit is contained in:
@@ -229,7 +229,7 @@ bool load_freqman_file_ex(std::string& file_stem, freqman_db& db, bool load_freq
|
|||||||
{
|
{
|
||||||
db.push_back({ frequency_a, frequency_b, description, type , modulation , bandwidth , step , tone });
|
db.push_back({ frequency_a, frequency_b, description, type , modulation , bandwidth , step , tone });
|
||||||
n++;
|
n++;
|
||||||
if (n >= FREQMAN_MAX_PER_FILE) return true;
|
if (n > FREQMAN_MAX_PER_FILE) return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
line_start = line_end + 1;
|
line_start = line_end + 1;
|
||||||
|
Reference in New Issue
Block a user