Skip to content

Commit

Permalink
fixed AMOLED build
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalkbrenner committed Feb 9, 2025
1 parent 7cbe489 commit 26c6bfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1447,7 +1447,7 @@ void StartServer() {
server->on("/get_width", HTTP_GET, [](AsyncWebServerRequest *request) {
request->send(200, "text/plain", String(TOTAL_WIDTH));
});

#ifndef DISPLAY_RM67162_AMOLED
server->on("/get_rgb_order", HTTP_GET, [](AsyncWebServerRequest *request) {
request->send(200, "text/plain", String(rgbMode));
});
Expand Down Expand Up @@ -1479,7 +1479,7 @@ void StartServer() {
server->on("/get_y_offset", HTTP_GET, [](AsyncWebServerRequest *request) {
request->send(200, "text/plain", String(yOffset));
});

#endif
server->on("/get_udp_delay", HTTP_GET, [](AsyncWebServerRequest *request) {
request->send(200, "text/plain", String(udpDelay));
});
Expand Down

0 comments on commit 26c6bfb

Please sign in to comment.