Skip to content

Commit

Permalink
Enable pxmagic by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Aircoookie committed Jun 22, 2023
1 parent 0d28728 commit 94aeb19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wled00/wled_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#ifdef WLED_ENABLE_PIXART
#include "html_pixart.h"
#endif
#ifdef WLED_ENABLE_PXMAGIC
#ifndef WLED_DISABLE_PXMAGIC
#include "html_pxmagic.h"
#endif
#include "html_cpal.h"
Expand Down Expand Up @@ -370,7 +370,7 @@ void initServer()
});
#endif

#ifdef WLED_ENABLE_PXMAGIC
#ifndef WLED_DISABLE_PXMAGIC
server.on("/pxmagic.htm", HTTP_GET, [](AsyncWebServerRequest *request){
if (handleFileRead(request, "/pxmagic.htm")) return;
if (handleIfNoneMatchCacheHeader(request)) return;
Expand Down

0 comments on commit 94aeb19

Please sign in to comment.