master/ethernet.c
changeset 339 a3a4ee854bd8
parent 336 360e5287c888
child 340 5a5f5a14c847
equal deleted inserted replaced
338:469369417422 339:a3a4ee854bd8
   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 /******************************************************************************