GaudiLabs / OpenTheremin_V3

Open Source Theremin Instrument, Arudino Codes
GNU Lesser General Public License v3.0
84 stars 26 forks source link

Update application.h (int type overflow) #12

Open matock opened 3 years ago

matock commented 3 years ago

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.