raibisch/ESP32_ABL

Missing break statement

Closed this issue · 1 comments

Could you please check if a break statement is missing or if this is the expected behaviour?
Variable 'tx' is reassigned a value before the old one has been used. 'break;' missing?

tx = String(ABL_TX_SET_16A);

case 14:
    tx = String(ABL_TX_SET_14A);
break;

case 15:
   tx = String(ABL_TX_SET_15A);
// BREAK?
case 16:
    tx = String(ABL_TX_SET_16A);
break;

default:
    tx = String(ABL_TX_SET_6A);
break;

is fixed.
Danke ;-)