Fix longstanding P25 parrot bug.

This commit is contained in:
Jonathan Naylor 2018-02-06 21:42:58 +00:00
parent d0caefd9d7
commit 72691c373f
2 changed files with 4 additions and 4 deletions

View File

@ -99,8 +99,8 @@ void CP25Parrot::run()
count = 0U; count = 0U;
} }
// A frame every 20ms // A frame every 180ms
unsigned int wanted = playoutTimer.elapsed() / 20U; unsigned int wanted = playoutTimer.elapsed() / 180U;
while (count < wanted) { while (count < wanted) {
len = parrot.read(buffer); len = parrot.read(buffer);
if (len > 0U) { if (len > 0U) {

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2015,2016 by Jonathan Naylor G4KLX * Copyright (C) 2015,2016,2018 by Jonathan Naylor G4KLX
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -19,6 +19,6 @@
#if !defined(VERSION_H) #if !defined(VERSION_H)
#define VERSION_H #define VERSION_H
const char* VERSION = "20161021"; const char* VERSION = "20180206";
#endif #endif