mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 06:33:51 +00:00
feat: add FRAM support to DynamicLampComponent constructor for enhanced functionality
This commit is contained in:
@@ -88,7 +88,7 @@ class DynamicLamp;
|
||||
|
||||
class DynamicLampComponent : public Component {
|
||||
public:
|
||||
explicit DynamicLampComponent(time::RealTimeClock *rtc) : rtc_(rtc) {}
|
||||
explicit DynamicLampComponent(time::RealTimeClock *rtc, FRAM *fram) : rtc_(rtc), fram_(fram) {}
|
||||
void setup() override;
|
||||
void loop() override;
|
||||
void dump_config() override;
|
||||
|
||||
Reference in New Issue
Block a user