Skip to content

Commit

Permalink
Fix input
Browse files Browse the repository at this point in the history
  • Loading branch information
cziter15 committed Jun 4, 2024
1 parent 849d09b commit eb18662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/emon/EnergyMonitorApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace apps::emon
auto sensorCompWp{addComponent<components::EnergySensor>(ANA_PIN)};

/* Setup reset button. */
addComponent<ksf::comps::ksResetButton>(CFG_PUSH_PIN, LOW);
addComponent<ksf::comps::ksResetButton>(CFG_PUSH_PIN, LOW, INPUT);

/* Bind MQTT connect/disconnect events for LED status. */
if (auto mqttSp{mqttWp.lock()})
Expand Down

0 comments on commit eb18662

Please sign in to comment.