Skip to content

Commit

Permalink
actually provide the alt mappings profileLabels in the proper API spot
Browse files Browse the repository at this point in the history
this fixes the issues with Pelsin's UI change, which was immaculately
done and only thwarted by my bugs =)
  • Loading branch information
bsstephan committed Sep 16, 2024
1 parent ba42e04 commit 3d5caaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/configs/webconfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ std::string getProfileOptions()
writePinDoc(i, "pin27", profileOptions.gpioMappingsSets[i].pins[27]);
writePinDoc(i, "pin28", profileOptions.gpioMappingsSets[i].pins[28]);
writePinDoc(i, "pin29", profileOptions.gpioMappingsSets[i].pins[29]);
writeDoc(doc, i, "profileLabel", profileOptions.gpioMappingsSets[i].profileLabel);
writeDoc(doc, "alternativePinMappings", i, "profileLabel", profileOptions.gpioMappingsSets[i].profileLabel);
}

return serialize_json(doc);
Expand Down

0 comments on commit 3d5caaa

Please sign in to comment.