Fix compiler warnings
This commit is contained in:
parent
afe3612c0c
commit
9b6377ecdc
|
@ -40,8 +40,6 @@
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <io.h>
|
|
||||||
#include <signal.h>
|
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
PROCESS(sky_shell_process, "Sky Contiki shell w. webserver");
|
PROCESS(sky_shell_process, "Sky Contiki shell w. webserver");
|
||||||
|
|
|
@ -57,7 +57,7 @@ PROCESS_THREAD(test_sht25_process, ev, data)
|
||||||
temperature = sht25.value(SHT25_VAL_TEMP);
|
temperature = sht25.value(SHT25_VAL_TEMP);
|
||||||
printf("Temperature %d.%d ºC\n", temperature / 100, temperature % 100);
|
printf("Temperature %d.%d ºC\n", temperature / 100, temperature % 100);
|
||||||
humidity = sht25.value(SHT25_VAL_HUM);
|
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();
|
PROCESS_END();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue