From fa8690e58486588b309a314b6c68cac0da880b65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= Date: Fri, 16 Feb 2018 22:38:13 +0100 Subject: [PATCH] sys/phydat: Add space between value and unit --- sys/phydat/phydat_str.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/phydat/phydat_str.c b/sys/phydat/phydat_str.c index 31ded7dc6c..b8d2e2ebac 100644 --- a/sys/phydat/phydat_str.c +++ b/sys/phydat/phydat_str.c @@ -52,7 +52,7 @@ void phydat_dump(phydat_t *data, uint8_t dim) printf("\t[%i] ", (int)i); if (scale_prefix) { - printf("%i%c", (int)data->val[i], scale_prefix); + printf("%i %c", (int)data->val[i], scale_prefix); } else if (data->scale == 0) { printf("%i", (int)data->val[i]);