Merge branch 'master' into dropdown_fix_tested

This commit is contained in:
Sandy Noble 2017-04-20 23:33:15 +01:00 committed by GitHub
commit 7e1cc9881f
1 changed files with 2 additions and 3 deletions

View File

@ -60,13 +60,12 @@ ControlFrameSimple addSerialPortControlFrame(String theName, int theWidth, int t
void dropdown_serialPort(int newSerialPort)
{
println("In dropdown_serialPort");
println("In dropdown_serialPort, newSerialPort: " + newSerialPort);
// Shift port index by one
// No serial in list is slot 0 in code because of list index
// So shift port index by one
newSerialPort -= 1;
if (newSerialPort == -2)
{
}