equal
deleted
inserted
replaced
301 /** |
301 /** |
302 Returns the state of the device. |
302 Returns the state of the device. |
303 \return 1 if the device is "up", 0 if it is "down" |
303 \return 1 if the device is "up", 0 if it is "down" |
304 */ |
304 */ |
305 |
305 |
306 unsigned int ec_eoe_active(const ec_eoe_t *eoe /**< EoE handler */) |
306 int ec_eoe_active(const ec_eoe_t *eoe /**< EoE handler */) |
307 { |
307 { |
308 return eoe->slave && eoe->opened; |
308 return eoe->slave && eoe->opened; |
309 } |
309 } |
310 |
310 |
311 /****************************************************************************** |
311 /****************************************************************************** |