Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Fix interval compilation error #364

Merged
merged 1 commit into from
Jan 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/esphomelib/automation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ float LoopTrigger::get_setup_priority() const {
return setup_priority::HARDWARE_LATE;
}

void IntervalTrigger::loop() {
void IntervalTrigger::update() {
this->trigger();
}
float IntervalTrigger::get_setup_priority() const {
Expand Down
2 changes: 1 addition & 1 deletion src/esphomelib/automation.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class LoopTrigger : public Trigger<NoArg>, public Component {
class IntervalTrigger : public Trigger<NoArg>, public PollingComponent {
public:
IntervalTrigger(uint32_t update_interval);
void loop() override;
void update() override;
float get_setup_priority() const override;
};

Expand Down
4 changes: 1 addition & 3 deletions src/esphomelib/ota_component.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ class OTAComponent : public Component {
/** Set a plaintext password that OTA will use for authentication.
*
* Warning: This password will be stored in plaintext in the ROM and can be read
* by intruders. It is however secured somewhat secure again MITM attacks (attackers
* could still modify the binary while you're sending it, but they can't start OTA processes
* themselves.)
* by intruders.
*
* @param password The plaintext password.
*/
Expand Down