1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys/phydat: Add space between value and unit

This commit is contained in:
Joakim Nohlgård 2018-02-16 22:38:13 +01:00
parent ad1944a10c
commit fa8690e584

View File

@ -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]);