Commit d4d6cc7a authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

monitor: update to new softpll, still needs to fix clk aux

parent 9096fd23
#include "board.h"
#include "ptpd_exports.h"
#include "hal_exports.h"
#include "softpll.h"
#include "softpll_ng.h"
extern ptpdexp_sync_state_t cur_servo_state;
extern int wrc_man_phase;
......@@ -76,13 +76,13 @@ int wrc_mon_gui(void)
m_cprintf(C_GREY, "Synchronization source: "); m_cprintf(C_WHITE, "%s\n", cur_servo_state.sync_source);
m_cprintf(C_GREY, "Aux clock status: ");
aux_stat = softpll_get_aux_status();
//aux_stat = spll_check_lock(1); //GGDD softpll_get_aux_status();
if(aux_stat & SOFTPLL_AUX_ENABLED)
//if(aux_stat & SOFTPLL_AUX_ENABLED)
// m_cprintf(C_GREEN,"enabled");
if(aux_stat & SOFTPLL_AUX_LOCKED)
m_cprintf(C_GREEN,", locked");
//if(aux_stat & SOFTPLL_AUX_LOCKED)
// m_cprintf(C_GREEN,", locked");
m_cprintf(C_BLUE, "\nTiming parameters:\n\n");
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