Fix warning -Wimplicit-fallthrough

This commit is contained in:
Julien Lecoeur
2017-12-05 22:51:43 -05:00
committed by Daniel Agar
parent b21af471ac
commit 9fb98dad3e
4 changed files with 9 additions and 2 deletions
+2
View File
@@ -170,6 +170,8 @@ MPU9250_SPI::ioctl(unsigned operation, unsigned &arg)
case ACCELIOCGEXTERNAL:
external();
/* FALLTHROUGH */
case DEVIOCGDEVICEID:
return CDev::ioctl(nullptr, operation, arg);