mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-04-02 15:06:32 +03:00
added comment
This commit is contained in:
@@ -56,6 +56,7 @@ void IRAM_ATTR AnalogSensor::freqIrq2() {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
void AnalogSensor::start(const bool factory_settings) {
|
void AnalogSensor::start(const bool factory_settings) {
|
||||||
|
// add hardcode sensors for BBQKees gateway boards
|
||||||
if (factory_settings && EMSESP::system_.board_profile() == "E32V2_2") {
|
if (factory_settings && EMSESP::system_.board_profile() == "E32V2_2") {
|
||||||
EMSESP::webCustomizationService.update([&](WebCustomization & settings) {
|
EMSESP::webCustomizationService.update([&](WebCustomization & settings) {
|
||||||
auto newSensor = AnalogCustomization();
|
auto newSensor = AnalogCustomization();
|
||||||
|
|||||||
Reference in New Issue
Block a user