added parasite

This commit is contained in:
proddy
2019-03-16 12:51:10 +01:00
parent 29d896abf6
commit 7dffcfadc6
2 changed files with 5 additions and 10 deletions

View File

@@ -4,9 +4,6 @@
* *
* Paul Derbyshire - https://github.com/proddy/EMS-ESP * Paul Derbyshire - https://github.com/proddy/EMS-ESP
* *
* See ChangeLog.md for history
* See README.md for Acknowledgments
*
*/ */
#include "ds18.h" #include "ds18.h"
@@ -17,6 +14,7 @@ DS18::DS18() {
_wire = NULL; _wire = NULL;
_count = 0; _count = 0;
_gpio = GPIO_NONE; _gpio = GPIO_NONE;
_parasite = 0;
} }
DS18::~DS18() { DS18::~DS18() {

View File

@@ -4,9 +4,6 @@
* *
* Paul Derbyshire - https://github.com/proddy/EMS-ESP * Paul Derbyshire - https://github.com/proddy/EMS-ESP
* *
* See ChangeLog.md for history
* See README.md for Acknowledgments
*
*/ */
#pragma once #pragma once