add comments to suppres -Wimplicit-fallthrough warnings

This commit is contained in:
Stefan Seyfried
2017-09-23 18:11:47 +02:00
committed by Jacek Jendrzej
parent 9e2a7d7f79
commit 971f3703a6
12 changed files with 19 additions and 2 deletions

View File

@@ -350,7 +350,9 @@ void CMotorControl::motorStep(bool west)
case STEP_MODE_AUTO:
moving = 1;
paintStatus();
/* fall through */
default:
/* what is STEP_MODE_OFF supposed to do? */
g_Zapit->sendMotorCommand(0xE0, 0x31, cmd, 1, 40, 0);
}
}