diff --git a/include/zh_ds18b20.h b/include/zh_ds18b20.h index 386df6b..2c81845 100644 --- a/include/zh_ds18b20.h +++ b/include/zh_ds18b20.h @@ -1,9 +1,3 @@ -/** - * @file - * Header file for the zh_ds18b20 component. - * - */ - #pragma once #include "stdio.h" diff --git a/zh_ds18b20.c b/zh_ds18b20.c index 0895bf1..fa44a1d 100644 --- a/zh_ds18b20.c +++ b/zh_ds18b20.c @@ -1,19 +1,11 @@ -/** - * @file - * The main code of the zh_ds18b20 component. - * - */ - #include "zh_ds18b20.h" -/// \cond #define SCRATCHPAD_LENGTH 8 // Scratchpad length. #define CONVERT_TEMPERATURE 0x44 // Initiates temperature conversion. #define READ_SCRATCHPAD 0xBE // Reads bytes from scratchpad. #define pgm_read_byte(addr) (*(const uint8_t *)(addr)) -/// \endcond static uint8_t _crc_calculate(const uint8_t *scratchpad);