Skip to content
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

Update application.h (int type overflow) #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matock
Copy link

@matock matock commented Nov 16, 2020

Get a compilation error when activating SERIAL_ENABLED:

In file included from D:\Arduino\Project - Theremin\OpenTheremin_V3-master\Open_Theremin_V3\Open_Theremin_V3.ino:69:0:
sketch\application.h:36:29: warning: overflow in implicit constant conversion [-Woverflow]
static const int BAUD = 115200;

--> value 115200 is too big for 'int' type, must be 'long' instead.

Get a compilation error when activating SERIAL_ENABLED:

In file included from D:\Arduino\Project - Theremin\OpenTheremin_V3-master\Open_Theremin_V3\Open_Theremin_V3.ino:69:0:
sketch\application.h:36:29: warning: overflow in implicit constant conversion [-Woverflow]
     static const int BAUD = 115200;

--> value 115200 is too big for 'int' type, must be 'long' instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant