Skip to content

Commit

Permalink
add TODO for fixing the pin UI
Browse files Browse the repository at this point in the history
  • Loading branch information
bsstephan committed Sep 19, 2023
1 parent 140bae1 commit 5a77cdd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/configs/webconfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,9 @@ std::string setPinMappings()
DynamicJsonDocument doc = get_post_data();

GpioAction** gpioMappings = Storage::getInstance().getGpioMappingsArray();
// PinMappings uses -1 to denote unassigned pins
// PinMappings uses -1 to denote unassigned pins ---
// TODO: either solve for unsetting via -1 in current UI, or get help to
// implement a UI that supports the new model
const auto convertPin = [&] (const char* key, const GpioAction action) -> void
{
int pin = 0;
Expand Down

0 comments on commit 5a77cdd

Please sign in to comment.