From 6ea16d7d96f4e2213a327f5fda09b12f86b10774 Mon Sep 17 00:00:00 2001
From: Alexandre Abadie <alexandre.abadie@inria.fr>
Date: Sun, 25 Feb 2018 14:27:59 +0100
Subject: [PATCH] tests/driver_hts221: fix missing words and cleanup

---
 tests/driver_hts221/main.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/driver_hts221/main.c b/tests/driver_hts221/main.c
index eea93bb019..e4310c54a3 100644
--- a/tests/driver_hts221/main.c
+++ b/tests/driver_hts221/main.c
@@ -47,17 +47,17 @@ int main(void)
         uint16_t hum = 0;
         int16_t temp = 0;
         if (hts221_read_humidity(&dev, &hum) != HTS221_OK) {
-            puts(" -- failed to humidity!");
+            puts(" -- failed to read humidity!");
         }
         if (hts221_read_temperature(&dev, &temp) != HTS221_OK) {
-            puts(" -- failed to temperature!");
+            puts(" -- failed to read temperature!");
         }
         bool negative = (temp < 0);
         if (negative) {
             temp = -temp;
         }
-        printf("H: %u.%u%%, T:%c%u.%u°C\n", (hum/10), (hum%10),
-               (negative ? '-' : ' '), (temp/10), (temp%10));
+        printf("H: %u.%u%%, T:%c%u.%u°C\n", (hum / 10), (hum % 10),
+               (negative ? '-' : ' '), (temp / 10), (temp % 10));
         xtimer_sleep(SLEEP_S);
     }
     return 0;
-- 
GitLab