Fixed some compiler warnings
This commit is contained in:
parent
952ce4b38f
commit
7db53b8bdc
|
|
@ -42,6 +42,8 @@ array< uint8_t, 16 > encodedData; // Buffer for encoded data
|
|||
|
||||
void *threadFunc(void *arg)
|
||||
{
|
||||
(void) arg;
|
||||
|
||||
struct CODEC2 *codec2 = codec2_create(CODEC2_MODE_3200);
|
||||
unique_ptr< stream_sample_t > audioBuf(new stream_sample_t[320]);
|
||||
streamId micId = inputStream_start(SOURCE_MIC, PRIO_TX,
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
pthread_mutex_t *cfgMutex; // Mutex for incoming config messages
|
||||
|
||||
const rtxStatus_t *newCnf; // Pointer for incoming config messages
|
||||
rtxStatus_t rtxStatus = { 0 }; // RTX driver status
|
||||
rtxStatus_t rtxStatus; // RTX driver status
|
||||
|
||||
float rssi; // Current RSSI in dBm
|
||||
bool reinitFilter; // Flag for RSSI filter re-initialisation
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@
|
|||
#include <minmea.h>
|
||||
#ifdef HAS_GPS
|
||||
#include <interfaces/gps.h>
|
||||
#include <string.h>
|
||||
#include <gps.h>
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
* along with this program; if not, see <http://www.gnu.org/licenses/> *
|
||||
***************************************************************************/
|
||||
|
||||
#include <interfaces/platform.h>
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <ui.h>
|
||||
|
|
|
|||
Loading…
Reference in New Issue