Browse Source

Fixing compile-error when IR is active

master
Torsten Stauder 4 years ago
parent
commit
da0de5c853
  1. 5
      src/Button.cpp
  2. 2
      src/main.cpp

5
src/Button.cpp

@ -47,10 +47,7 @@ uint8_t gShutdownButton = 99; // Helper used for Neopixel: stores button-number
static volatile SemaphoreHandle_t Button_TimerSemaphore;
#ifndef IR_CONTROL_ENABLE
hw_timer_t *Button_Timer = NULL;
#endif
hw_timer_t *Button_Timer = NULL;
static void IRAM_ATTR onTimer();
static void Button_DoButtonActions(void);

2
src/main.cpp

@ -149,7 +149,7 @@ void setup()
Serial.println(F(" | |___ ___) | | __/ | |_| | | | | | | | | (_) |"));
Serial.println(F(" |_____| |____/ |_| \\__,_| |_| |_| |_| \\___/ "));
Serial.println(F(" Rfid-controlled musicplayer\n"));
Serial.println(F(" Rev 20210402-2\n"));
Serial.println(F(" Rev 20210502-1\n"));
// print wake-up reason
printWakeUpReason();

Loading…
Cancel
Save