Correct write_timer_ source data address
This commit is contained in:
parent
d98d1cabd5
commit
95cf42732e
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ void PCF85063Component::set_timer_interrupt_mode_(PCF85063ATimerInterruptMode_t
|
||||||
}
|
}
|
||||||
|
|
||||||
bool PCF85063Component::write_timer_() {
|
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.");
|
ESP_LOGE(TAG, "Can't write I2C data.");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue