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:
parent
ad1944a10c
commit
fa8690e584
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user