-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Increase max text length for controller text setting #683
base: develop-pros-4
Are you sure you want to change the base?
🐛 Increase max text length for controller text setting #683
Conversation
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
this would be nice to have |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Slight change requested
@@ -19,6 +19,7 @@ | |||
#include "vdml/vdml.h" | |||
|
|||
#define CONTROLLER_MAX_COLS 15 | |||
#define CONTROLLER_MAX_CHARS 31 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of nits:
- Might as well get rid of CONTROLLER_MAX_COLS
- Parenthesize and unsign the define
Other than that this looks good, thanks for the contribution :)
#define CONTROLLER_MAX_CHARS 31 | |
#define CONTROLLER_MAX_CHARS ( 31U ) |
Summary:
Changes max length of controller text to 31 characters.
Motivation:
VEXCode allows users to set controller text with a maximum length of 31 characters, but PROS caps controller text at 15 characters.
References (optional):
Close #679
Test Plan: