mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-30 01:27:24 -04:00
fixing limit so we can detect if a list is the same size as the limit or truncated
This commit is contained in:
parent
68fc2a143f
commit
1b18b3ac45
1 changed files with 1 additions and 1 deletions
|
@ -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 });
|
||||
n++;
|
||||
if (n >= FREQMAN_MAX_PER_FILE) return true;
|
||||
if (n > FREQMAN_MAX_PER_FILE) return true;
|
||||
}
|
||||
|
||||
line_start = line_end + 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue