Commit f6124364 authored by Federico Vaga's avatar Federico Vaga

wrtd:rt:tdc add commented cflags

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>


NOTE
This commit has been created by `git subtree` on the Mock Turtle repository
on tag mock-turtle-2.0

This commit will not compile
parent fc282bb9
......@@ -41,20 +41,6 @@ static inline int wrtd_out_send_and_receive_sync(struct wrtd_desc *wrtd,
return err < 0 ? err : 0; /* Ignore timeout */
}
static int wrtd_out_trivial_request (struct wrtd_node *dev, struct wrnc_msg *request_msg)
{
struct wrtd_desc *wrtd = (struct wrtd_desc *)dev;
int err;
/* Send the message and get answer */
err = wrtd_out_send_and_receive_sync(wrtd, request_msg);
if (err)
return err;
return wrtd_validate_acknowledge(request_msg);
}
static int wrtd_out_trigger_first_free(struct wrtd_node *dev)
{
......@@ -75,7 +61,9 @@ static int wrtd_out_trigger_first_free(struct wrtd_node *dev)
/**
* It retrieves the trigger index for the given trigger ID
* It retrieves the trigger index where you can write.
* If the trigger with ID 'tid' already exists it returns its index,
* otherwise it return the first free index.
*/
static int wrtd_out_trigger_index_get(struct wrtd_desc *wrtd,
struct wrtd_trig_id *tid)
......
......@@ -8,5 +8,6 @@ WRNC = ../../../../
EXTRA_CFLAGS += -I../../include
EXTRA_CFLAGS += -I../common
EXTRA_CFLAGS += -DLIBRT_ERROR
#EXTRA_CFLAGS += -DLIBRT_DEBUG
RT_USE_LIBRT := 1
include $(WRNC)/applications/common/rt/Makefile
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment