Merge pull request #953 from gullradriel/freqman-limits

fixing freqman limits
This commit is contained in:
gullradriel 2023-05-04 12:11:15 +02:00 committed by GitHub
commit 68fc2a143f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,9 +31,10 @@
#include "string_format.hpp" #include "string_format.hpp"
#include "ui_widget.hpp" #include "ui_widget.hpp"
#define FREQMAN_DESC_MAX_LEN 30 #define FREQMAN_DESC_MAX_LEN 24 // This is the number of characters that can be drawn in front of "R: TEXT..." before taking a full screen line
#define FREQMAN_MAX_PER_FILE 500 /* MAX PER FILES */ #define FREQMAN_MAX_PER_FILE 115 // Maximum of entries we can read. This is a hardware limit
#define FREQMAN_MAX_PER_FILE_STR "500" /*STRING OF FREQMAN_MAX_PER_FILE */ // It was tested and lowered to leave a bit of space to the caller
#define FREQMAN_MAX_PER_FILE_STR "115" // STRING OF FREQMAN_MAX_PER_FILE
using namespace ui; using namespace ui;
using namespace std; using namespace std;