2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-28 20:53:35 +08:00

runtime: fix unused variable warning

This commit is contained in:
Sebastien Bourdeauducq 2016-07-28 09:01:21 +08:00
parent 92338026f6
commit b5e52e9870

View File

@ -42,9 +42,9 @@ int rtiocrg_check(void)
int rtiocrg_switch_clock(int clk)
{
#ifdef CSR_RTIO_CRG_BASE
int current_clk;
#ifdef CSR_RTIO_CRG_BASE
current_clk = rtio_crg_clock_sel_read();
if(clk == current_clk) {
#ifdef CSR_RTIO_CRG_PLL_RESET_ADDR