mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-28 04:07:47 +00:00
[PUYA] Prepare for upcoming PUYA patch in core library
See https://github.com/esp8266/Arduino/pull/5504 This needs a little change in the detect script to see if the previous patch already was applied.
This commit is contained in:
@@ -5,7 +5,7 @@ PATCH=puya_v3.patch
|
||||
for DIR in ~/.platformio/packages/framework-arduinoespressif8266*/; do
|
||||
|
||||
#not applied yet? (in upstream or otherwise)
|
||||
if ! grep "0x146085 PUYA" $DIR/cores/esp8266/Esp.cpp >/dev/null; then
|
||||
if ! grep "PUYA" $DIR/cores/esp8266/Esp.cpp >/dev/null; then
|
||||
echo "Patching $DIR"
|
||||
patch -p1 -d $DIR < $PATCH
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user