master/master.c
changeset 2617 559f2f9c5b08
parent 2589 2b9c78543663
child 2620 0e4d098db815
equal deleted inserted replaced
2616:f99e5b11806c 2617:559f2f9c5b08
  2222         if (slave->config) {
  2222         if (slave->config) {
  2223             ec_slave_request_state(slave, EC_SLAVE_STATE_OP);
  2223             ec_slave_request_state(slave, EC_SLAVE_STATE_OP);
  2224         }
  2224         }
  2225     }
  2225     }
  2226 
  2226 
       
  2227 #ifdef EC_REFCLKOP
  2227     // always set DC reference clock to OP
  2228     // always set DC reference clock to OP
  2228     if (master->dc_ref_clock) {
  2229     if (master->dc_ref_clock) {
  2229         ec_slave_request_state(master->dc_ref_clock, EC_SLAVE_STATE_OP);
  2230         ec_slave_request_state(master->dc_ref_clock, EC_SLAVE_STATE_OP);
  2230     }
  2231     }
       
  2232 #endif
  2231 }
  2233 }
  2232 
  2234 
  2233 /******************************************************************************
  2235 /******************************************************************************
  2234  *  Application interface
  2236  *  Application interface
  2235  *****************************************************************************/
  2237  *****************************************************************************/