master/master.c
changeset 2617 559f2f9c5b08
parent 2589 2b9c78543663
child 2620 0e4d098db815
--- a/master/master.c	Sat May 31 14:49:02 2014 +1200
+++ b/master/master.c	Sat May 31 15:37:33 2014 +1200
@@ -2224,10 +2224,12 @@
         }
     }
 
+#ifdef EC_REFCLKOP
     // always set DC reference clock to OP
     if (master->dc_ref_clock) {
         ec_slave_request_state(master->dc_ref_clock, EC_SLAVE_STATE_OP);
     }
+#endif
 }
 
 /******************************************************************************