From 95cf42732efedff753d3eb86e5379ce9bef54fc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Odd=20Str=C3=A5b=C3=B8?= Date: Sun, 20 Aug 2023 02:17:31 +0000 Subject: [PATCH] Correct write_timer_ source data address --- esphome/components/pcf85063/pcf85063.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/pcf85063/pcf85063.cpp b/esphome/components/pcf85063/pcf85063.cpp index c0825d9..b402f6e 100644 --- a/esphome/components/pcf85063/pcf85063.cpp +++ b/esphome/components/pcf85063/pcf85063.cpp @@ -125,7 +125,7 @@ void PCF85063Component::set_timer_interrupt_mode_(PCF85063ATimerInterruptMode_t } bool PCF85063Component::write_timer_() { - if (!this->write_bytes(0x10, &this->pcf85063_.raw[0x03], 2)) { + if (!this->write_bytes(0x10, &this->pcf85063_.raw[0x10], 2)) { ESP_LOGE(TAG, "Can't write I2C data."); return false; }