Fix compiler warnings

This commit is contained in:
Adam Dunkels 2015-10-04 22:33:54 +02:00 committed by Simon Duquennoy
parent afe3612c0c
commit 9b6377ecdc
2 changed files with 1 additions and 3 deletions

View File

@ -40,8 +40,6 @@
#include <stdio.h>
#include <string.h>
#include <io.h>
#include <signal.h>
/*---------------------------------------------------------------------------*/
PROCESS(sky_shell_process, "Sky Contiki shell w. webserver");

View File

@ -57,7 +57,7 @@ PROCESS_THREAD(test_sht25_process, ev, data)
temperature = sht25.value(SHT25_VAL_TEMP);
printf("Temperature %d.%d ºC\n", temperature / 100, temperature % 100);
humidity = sht25.value(SHT25_VAL_HUM);
printf("Humidity %d.%d %RH\n", humidity / 100, humidity % 100);
printf("Humidity %d.%d %%RH\n", humidity / 100, humidity % 100);
}
PROCESS_END();
}