From df16e7d5af5950e6238230989cf1857ee57a9221 Mon Sep 17 00:00:00 2001
From: Koen Zandberg <koen@bergzand.net>
Date: Mon, 19 Feb 2018 11:37:20 +0100
Subject: [PATCH] phydat: Add parts per million unit

---
 sys/phydat/phydat_str.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/phydat/phydat_str.c b/sys/phydat/phydat_str.c
index 10e3971337..894cf3c77c 100644
--- a/sys/phydat/phydat_str.c
+++ b/sys/phydat/phydat_str.c
@@ -89,6 +89,7 @@ const char *phydat_unit_to_str(uint8_t unit)
         case UNIT_GS:       return "Gs";
         case UNIT_BAR:      return "Bar";
         case UNIT_PA:       return "Pa";
+        case UNIT_PPM:      return "ppm";
         case UNIT_CD:       return "cd";
         case UNIT_PERCENT:  return "%";
         default:            return "";
-- 
GitLab