Fix minor compiler warnings in examples

This commit is contained in:
PaulStoffregen
2017-09-04 20:48:37 -07:00
parent 47aadf559d
commit 1154607b69
3 changed files with 6 additions and 6 deletions

View File

@@ -192,12 +192,12 @@ void loop()
ac_activate(AC_TEMPERATURE, AC_FLOW);
break;
case 2:
if ( b == 0 | b == 1 ) {
if ( b == 0 || b == 1 ) {
ac_change_air_swing(b);
}
break;
case 3: // 1 : clean on, power on
if ( b == 0 | b == 1 ) {
if ( b == 0 || b == 1 ) {
ac_air_clean(b);
}
break;