Skip to content

Commit

Permalink
HttpScreen plugin : fix TFT screen management
Browse files Browse the repository at this point in the history
  • Loading branch information
jano42 committed Oct 27, 2021
1 parent c1646a0 commit 442e605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sources/plugins/httpScreen/TftScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ void CTftScreen::update(const std::vector<CCommand>& cmds)
{
if (cmd.isControl())
{
m_controller->sendCommand(m_ip, "oledcmd", cmd.get());
m_controller->sendCommand(m_ip, "TFTCMD", cmd.get());
}
else
{
m_controller->sendCommand(m_ip, "oled", cmd.get());
m_controller->sendCommand(m_ip, "TFT", cmd.get());
}
}
}
Expand Down

0 comments on commit 442e605

Please sign in to comment.