Skip to content

Commit a9f69d3

Browse files
committed
fix for 8266 build error
1 parent 4d2e6f4 commit a9f69d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

wled00/file.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ void closeFile() {
5656
while(strip.isUpdating() && (millis() - t_wait < 96)) delay(0); // try harder
5757
//if (strip.isUpdating()) USER_PRINTLN("closeFile: strip still updating.");
5858
delay(2); // might help
59+
#else
60+
bool oldLock = suspendStripService; // fix build f***u* on 8266
5961
#endif
6062
#ifdef WLED_DEBUG_FS
6163
DEBUGFS_PRINT(F("Close -> "));

0 commit comments

Comments
 (0)