hold interrupt disable for dallas one-wire (#6244)

Co-authored-by: Samuel Sieb <samuel@sieb.net>
This commit is contained in:
Samuel Sieb 2024-02-19 11:13:12 -08:00 committed by Jesse Hills
parent 6ced54ea8e
commit ae4af2966a
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
1 changed files with 0 additions and 4 deletions

View File

@ -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);