Fixed some compiler warnings

This commit is contained in:
Silvano Seva 2021-10-06 21:30:45 +02:00
parent 952ce4b38f
commit 7db53b8bdc
4 changed files with 5 additions and 1 deletions

View File

@ -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,

View File

@ -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

View File

@ -35,6 +35,7 @@
#include <minmea.h>
#ifdef HAS_GPS
#include <interfaces/gps.h>
#include <string.h>
#include <gps.h>
#endif

View File

@ -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>