Merge pull request #5 from pimatic/Icesory-patch-1

Allow sending in state STATUS_RECORDING_0
This commit is contained in:
sweet pi - sweet home 2015-03-01 20:18:34 +01:00
commit e92aa5995f
1 changed files with 1 additions and 1 deletions

View File

@ -493,7 +493,7 @@ void listenBeforeTalk()
// listen before talk
unsigned long waited = 0;
if(interruptPin != -1) {
while(state != STATUS_WAITING && state != STATUS_RECORDING_END) {
while(state != STATUS_WAITING && state != STATUS_RECORDING_END && state != STATUS_RECORDING_0) {
//wait till no rf message is in the air
waited += 10;
delayMicroseconds(10000);