mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
hold interrupt disable for dallas one-wire (#6244)
Co-authored-by: Samuel Sieb <samuel@sieb.net>
This commit is contained in:
parent
c39f6d0738
commit
5d144cff02
1 changed files with 0 additions and 4 deletions
|
@ -168,10 +168,6 @@ bool IRAM_ATTR DallasTemperatureSensor::read_scratch_pad() {
|
|||
if (!wire->reset()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
InterruptLock lock;
|
||||
|
||||
wire->select(this->address_);
|
||||
wire->write8(DALLAS_COMMAND_READ_SCRATCH_PAD);
|
||||
|
|
Loading…
Reference in a new issue