1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 04:52:59 +01:00

sht1x: Fix Wimplicit-fallthrough warning

This commit is contained in:
Joakim Nohlgård 2018-08-12 08:53:43 +02:00
parent 75a194e914
commit 1652e5ae24

View File

@ -41,6 +41,7 @@ static int read(const sht1x_dev_t *dev, int16_t *temp, int16_t *hum)
continue;
case -ECANCELED:
puts("[sht1x] Measurement times out");
/* falls through */
default:
/* Other failure, cannot recover so giving up */
return -1;