Commit 474aa0b2 authored by Tomasz Wlostowski's avatar Tomasz Wlostowski

softpll: fixed remaining compiler warnings...

parent 303c8360
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "board.h"
#include "timer.h"
......@@ -482,6 +483,7 @@ int spll_get_delock_count()
int spll_update_aux_clocks()
{
uint32_t occr_aux_en = SPLL_OCCR_OUT_EN_R(SPLL->OCCR);
int i;
for(i=0;i<n_chan_out-1;i++)
......@@ -536,6 +538,7 @@ int spll_update_aux_clocks()
break;
}
}
return 0;
}
int spll_get_aux_status(int channel)
......
......@@ -86,9 +86,6 @@ static void external_init(volatile struct spll_external_state *s, int ext_ref, i
static inline void realign_fsm( struct spll_external_state *s)
{
uint32_t eccr;
switch(s->realign_state)
{
case REALIGN_STAGE1:
......@@ -144,7 +141,7 @@ static inline void realign_fsm( struct spll_external_state *s)
static int external_update( struct spll_external_state *s, int tag, int source)
{
int err, y, y2, yd, ylt;
int err, y, y2, ylt;
if(source == s->ref_src)
{
......
......@@ -84,7 +84,7 @@ static void mpll_stop(volatile struct spll_main_state *s)
static int mpll_update(volatile struct spll_main_state *s, int tag, int source)
{
int err, y, tmp;
int err, y;
#ifdef WITH_SEQUENCING
int new_ref = -1, new_out = -1;
......@@ -210,6 +210,7 @@ static int mpll_update(volatile struct spll_main_state *s, int tag, int source)
static int mpll_set_phase_shift(volatile struct spll_main_state *s, int desired_shift)
{
s->phase_shift_target = desired_shift;
return 0;
}
static int mpll_shifter_busy(volatile struct spll_main_state *s)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment