X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Ftmp123.h;h=015076bd77956844ec65add70a7d7f17e0e92f75;hb=911d2706a86d326786bfe721dcc3d63aeade7f28;hp=cb7b377c09948ab583d11fa484bdfe08ef93e8db;hpb=56d6f07e5c87bf8745bb9548ae2227b39d083883;p=bertos.git diff --git a/bertos/drv/tmp123.h b/bertos/drv/tmp123.h index cb7b377c..015076bd 100644 --- a/bertos/drv/tmp123.h +++ b/bertos/drv/tmp123.h @@ -45,11 +45,11 @@ #include -#include +#include -typedef int16_t deci_celsius_t; +#include // Macro and data type to manage celsius degree -deci_celsius_t tmp123_read(KFile *fd); +deg_t tmp123_read(KFile *fd); void tmp123_init(void);