Revision 166:1a6a85e8d2e7 tidsense/command.c
b/tidsense/command.c | ||
---|---|---|
44 | 44 |
network_free_request(req); |
45 | 45 |
} |
46 | 46 |
|
47 |
void command_set_i2c_bus(i2c_bus_t *bus) { |
|
48 |
cmd_i2c_bus = bus; |
|
49 |
} |
|
50 |
|
|
47 | 51 |
void cmd_setup_resp(command_id_t cmd, NWK_DataReq_t *req, void *hdr, NWK_DataInd_t *ind) { |
48 | 52 |
req->dstAddr = ind->srcAddr; |
49 | 53 |
req->dstEndpoint = CONTROL_ENDPOINT; |
Also available in: Unified diff