From 18afcab1d9d77a54a6f0a3dc72932eec6bbf2d6f Mon Sep 17 00:00:00 2001 From: Alexey Zholtikov Date: Sun, 23 Jun 2024 12:34:25 +0300 Subject: [PATCH] Updated some comments --- include/zh_ds18b20.h | 6 ------ zh_ds18b20.c | 8 -------- 2 files changed, 14 deletions(-) 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);