Skip to content

Commit

Permalink
Fix rotation in the Web UI
Browse files Browse the repository at this point in the history
  • Loading branch information
fvanroie committed Jan 27, 2021
1 parent 81bf4f7 commit d29680b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/svc/hasp_http.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@ void webHandleGuiConfig()
httpMessage += F("'></p>");

int8_t rotation = settings[FPSTR(F_GUI_ROTATION)].as<int8_t>();
httpMessage += F("<p><b>Orientation</b> <select id='rotation' name='rotation'>");
httpMessage += F("<p><b>Orientation</b> <select id='rotate' name='rotate'>");
httpMessage += getOption(0, F("0 degrees"), rotation == 0);
httpMessage += getOption(1, F("90 degrees"), rotation == 1);
httpMessage += getOption(2, F("180 degrees"), rotation == 2);
Expand Down

0 comments on commit d29680b

Please sign in to comment.