From 1652e5ae2497eb031fb0a4650ddca38f3f9c7234 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= <joakim.nohlgard@eistec.se> Date: Sun, 12 Aug 2018 08:53:43 +0200 Subject: [PATCH] sht1x: Fix Wimplicit-fallthrough warning --- drivers/sht1x/sht1x_saul.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/sht1x/sht1x_saul.c b/drivers/sht1x/sht1x_saul.c index 7c0abd9255..50c52eea90 100644 --- a/drivers/sht1x/sht1x_saul.c +++ b/drivers/sht1x/sht1x_saul.c @@ -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; -- GitLab