Browse Source

Adding re-injection of old RFID-ID after IP-speech is complete

master
Torsten Stauder 4 years ago
parent
commit
e71a4b6960
  1. 2
      src/AudioPlayer.cpp
  2. 2
      src/revision.h

2
src/AudioPlayer.cpp

@ -669,7 +669,7 @@ void AudioPlayer_Task(void *parameter) {
if (!gPlayProperties.currentSpeechActive && gPlayProperties.lastSpeechActive) { if (!gPlayProperties.currentSpeechActive && gPlayProperties.lastSpeechActive) {
gPlayProperties.lastSpeechActive = false; gPlayProperties.lastSpeechActive = false;
if (gPlayProperties.playMode != NO_PLAYLIST) { if (gPlayProperties.playMode != NO_PLAYLIST) {
AudioPlayer_TrackControlToQueueSender(STOP);
xQueueSend(gRfidCardQueue, gPlayProperties.playRfidTag, 0); // Re-inject previous RFID-ID in order to continue playback
} }
} }

2
src/revision.h

@ -1,4 +1,4 @@
#ifndef __REVISION_H__ #ifndef __REVISION_H__
#define __REVISION_H__ #define __REVISION_H__
constexpr const char softwareRevision[] PROGMEM = "Software-revision: 20211113-1";
constexpr const char softwareRevision[] PROGMEM = "Software-revision: 20211113-2";
#endif #endif
Loading…
Cancel
Save