Skip to content
Snippets Groups Projects
Commit 521ca809 authored by Ezekiel Dohmen's avatar Ezekiel Dohmen
Browse files

Fixing more warnings

parent 32cd42d6
No related branches found
No related tags found
2 merge requests!439RCG 5.0 release fro deb 10,!367Build Reorganization Total
......@@ -16,7 +16,9 @@ extern "C" {
static inline int
app_adc_read( int ioMemCtr, int ioClk, adcInfo_t* adcinfo, int cpuClk[], int* startGpsTime_ptr )
{
#ifdef OVERSAMPLE
int limit = OVERFLOW_LIMIT_16BIT;
#endif
int mm;
int card = 0;
int chan = 0;
......
......@@ -61,6 +61,8 @@ lptc_start_clock( CDS_HARDWARE* pCds )
int ii, jj;
volatile LPTC_REGISTER* lptcPtr;
if(pCds->card_count[ LPTC ] < 1) return -1;
for ( jj = 0; jj < pCds->card_count[ LPTC ]; jj++ )
{
lptcPtr = (LPTC_REGISTER*)pCds->lptc[ jj ];
......@@ -109,6 +111,8 @@ lptc_stop_clock( CDS_HARDWARE* pCds )
int jj;
volatile LPTC_REGISTER* lptcPtr;
if(pCds->card_count[ LPTC ] < 1) return -1;
for ( jj = 0; jj < pCds->card_count[ LPTC ]; jj++ )
{
lptcPtr = (LPTC_REGISTER*)pCds->lptc[ jj ];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment