×
Notice
The forum is in read only mode.
Index
Recent Topics
Search
Index
Recent Topics
Search
Log in
Username
Password
Remember me
Log in
Forgot your password?
Forgot your username?
Log in
Username
Password
Remember me
Log in
Forgot your password?
Forgot your username?
Forum
Development
Development
Need help for language.c parameter
Need help for language.c parameter
Start
Prev
1
Next
End
1
dc59
Topic Author
Offline
Less
More
Posts: 799
07 Jan 2018 13:58
#66753
by
dc59
Need help for language.c parameter
was created by
dc59
Hi all,
Can anyone help me to understand this three line in language.c :
static char strings[8192];
#define MAX_STRINGS 430
#define MAX_LINE 300
What's relationship between 8192 & 430 ? is there any formula to calculate / set these 2 value?
Thanks!
vlad_vy
Offline
Less
More
Posts: 3333
07 Jan 2018 14:21
-
07 Jan 2018 14:27
#66756
by
vlad_vy
Replied by
vlad_vy
on topic
Need help for language.c parameter
static char strings[8192]; - I think it is USB device buffer.
#define MAX_STRINGS 450 - max number of strings at language files.
#define MAX_LINE 300 - buffer size for reading language files.
Last edit: 07 Jan 2018 14:27 by
vlad_vy
.
Start
Prev
1
Next
End
1
Board Categories
News, Announcements and Feedback
- News & Announcements
- Feedback & Questions
Development
- Development
- Protocol Development
- Builds
General
- General Discussions
- Polls
- Tutorials
- Stock Firmware Help
- Marketplace
Model Configs, Templates, Skins
- Model Configs
- - Model Requests
- Model Icons
- - Color icons for DEVO 6, 8, 12
- - BW icons for DEVO 7E, 10, 12E
- - BW icons for DEVO F12E
- Model Templates
- Custom Layouts
- Custom Skins
- Translations
Forum
Development
Development
Need help for language.c parameter
Time to create page: 0.024 seconds
Powered by
Kunena Forum
Home
Forum
Development
Development
Need help for language.c parameter
Re-enable mobile display