Bläddra i källkod

No interrupts in thingomagay

jediemil 3 år sedan
förälder
incheckning
47d07ca33e
3 ändrade filer med 4 tillägg och 1 borttagningar
  1. 1 1
      CMakeLists.txt
  2. 1 0
      platformio.ini
  3. 2 0
      src/main.cpp

+ 1 - 1
CMakeLists.txt

@@ -10,7 +10,7 @@ set(CMAKE_SYSTEM_NAME Generic)
 set(CMAKE_C_COMPILER_WORKS 1)
 set(CMAKE_CXX_COMPILER_WORKS 1)
 
-project("untitled" C CXX)
+project("SpotlightRGBW" C CXX)
 
 include(CMakeListsPrivate.txt)
 

+ 1 - 0
platformio.ini

@@ -18,4 +18,5 @@ lib_deps =
 	me-no-dev/ESP Async WebServer
 	adafruit/Adafruit NeoPixel@^1.10.4
 	bblanchon/ArduinoJson
+	;Arduino-IRremote/Arduino-IRremote
 	;FastLED/FastLED

+ 2 - 0
src/main.cpp

@@ -445,7 +445,9 @@ void loop() {
         hasRun = hasRun || clusters[i]->runAnimation();
     }
     if (hasRun || extShow) {
+        noInterrupts();
         leds.show();
+        interrupts();
         extShow = false;
     }