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:
parent
75a194e914
commit
1652e5ae24
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user