diff --git a/scripts/applyPatches.py b/scripts/applyPatches.py index 9537e0bd..657525e6 100644 --- a/scripts/applyPatches.py +++ b/scripts/applyPatches.py @@ -28,5 +28,5 @@ def applyPatch(libName, patchFile): # list of patches to apply (relative to /src) applyPatch("ESP Async WebServer", "../patches/AsyncWeb_Prometheus.patch") -if env['PIOENV'] == "opendtufusion": +if env['PIOENV'][:13] == "opendtufusion": applyPatch("GxEPD2", "../patches/GxEPD2_SW_SPI.patch")