mirror of
https://github.com/esphome/esphome.git
synced 2026-05-27 11:56:11 +08:00
[nrf52,pcf8563] fix build error
This commit is contained in:
@@ -23,7 +23,9 @@ void PCF8563Component::dump_config() {
|
|||||||
if (this->is_failed()) {
|
if (this->is_failed()) {
|
||||||
ESP_LOGE(TAG, ESP_LOG_MSG_COMM_FAIL);
|
ESP_LOGE(TAG, ESP_LOG_MSG_COMM_FAIL);
|
||||||
}
|
}
|
||||||
|
#ifndef USE_ZEPHYR
|
||||||
ESP_LOGCONFIG(TAG, " Timezone: '%s'", this->timezone_.c_str());
|
ESP_LOGCONFIG(TAG, " Timezone: '%s'", this->timezone_.c_str());
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
float PCF8563Component::get_setup_priority() const { return setup_priority::DATA; }
|
float PCF8563Component::get_setup_priority() const { return setup_priority::DATA; }
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
packages:
|
||||||
|
i2c: !include ../../test_build_components/common/i2c/nrf52.yaml
|
||||||
|
|
||||||
|
<<: !include common.yaml
|
||||||
Reference in New Issue
Block a user