Skip to content

Commit

Permalink
Send Input Mode Everytime for HinksPix
Browse files Browse the repository at this point in the history
  • Loading branch information
computergeek1507 committed Dec 9, 2024
1 parent 8bbdb73 commit f878a35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xLights/controllers/HinksPix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,8 @@ bool HinksPix::UploadInputUniverses(Controller* controller, std::vector<HinksPix
wxString const cur_mode = data.ItemAt("MODE").AsString();

//Set Controller Input mode
if (cur_mode != type) {
//if (cur_mode != type) //send mode every time
{
auto const ret = GetJSONControllerData(GetJSONPostURL(), cmd);
if (ret.find("\"OK\"") == std::string::npos) {
logger_base.error("Failed Return %s", (const char*)ret.c_str());
Expand Down

0 comments on commit f878a35

Please sign in to comment.