Skip to content

Commit a1044b9

Browse files
committed
1L: Restore functionality of the second input
Inadvertently disabled in ca0674d #405
1 parent e392668 commit a1044b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Shelly1L/shelly_init.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ void CreatePeripherals(std::vector<std::unique_ptr<Input>> *inputs,
3535
inputs->emplace_back(in1);
3636
auto *in2 = new NoisyInputPin(2, 14, 1, MGOS_GPIO_PULL_NONE, false);
3737
in2->Init();
38-
#if 0
3938
inputs->emplace_back(in2);
39+
#if 0 // 1L uses BL0937 in current-only mode. This is not yet supported.
4040
std::unique_ptr<PowerMeter> pm(new BL0937PowerMeter(1, -1, 4, -1));
4141
if (pm->Init().ok()) {
4242
pms->emplace_back(std::move(pm));

0 commit comments

Comments
 (0)