X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Ftmp123.c;h=4c90a0e7ddbc6aab9ea04a89fb967ac7ecaaa73b;hb=d1a6dcfe9a94f17f30cd681658b08a9531983197;hp=9fcc9165c16efe9f924a308b5dfd53e952bed436;hpb=56d6f07e5c87bf8745bb9548ae2227b39d083883;p=bertos.git diff --git a/bertos/drv/tmp123.c b/bertos/drv/tmp123.c index 9fcc9165..4c90a0e7 100644 --- a/bertos/drv/tmp123.c +++ b/bertos/drv/tmp123.c @@ -46,10 +46,12 @@ #include +#include // Macro and data type to manage celsius degree + /** * Read temperature from TMP123 chip. */ -deci_celsius_t tmp123_read(KFile *fd) +deg_t tmp123_read(KFile *fd) { int16_t tmp;