Added missing doc.
--- a/master/foe_request.h Fri Apr 24 08:39:20 2009 +0000
+++ b/master/foe_request.h Fri Apr 24 09:51:11 2009 +0000
@@ -73,7 +73,6 @@
void ec_foe_request_init(ec_foe_request_t *, uint8_t* file_name);
void ec_foe_request_clear(ec_foe_request_t *);
-void ec_foe_request_address(ec_foe_request_t *, uint16_t, uint8_t);
int ec_foe_request_alloc(ec_foe_request_t *, size_t);
int ec_foe_request_copy_data(ec_foe_request_t *, const uint8_t *, size_t);
int ec_foe_request_timed_out(const ec_foe_request_t *);
--- a/master/fsm_foe.c Fri Apr 24 08:39:20 2009 +0000
+++ b/master/fsm_foe.c Fri Apr 24 09:51:11 2009 +0000
@@ -57,13 +57,15 @@
/*****************************************************************************/
+/** FoE OpCodes.
+ */
enum {
- EC_FOE_OPCODE_RRQ = 1,
- EC_FOE_OPCODE_WRQ = 2,
- EC_FOE_OPCODE_DATA = 3,
- EC_FOE_OPCODE_ACK = 4,
- EC_FOE_OPCODE_ERR = 5,
- EC_FOE_OPCODE_BUSY = 6
+ EC_FOE_OPCODE_RRQ = 1, /**< Read request. */
+ EC_FOE_OPCODE_WRQ = 2, /**< Write request. */
+ EC_FOE_OPCODE_DATA = 3, /**< Data. */
+ EC_FOE_OPCODE_ACK = 4, /**< Acknowledge. */
+ EC_FOE_OPCODE_ERR = 5, /**< Error. */
+ EC_FOE_OPCODE_BUSY = 6 /**< Busy. */
} ec_foe_opcode_t;
/*****************************************************************************/