diff --git a/doc/examples/OBC+TTC/shared/incp/messaging.h b/doc/examples/OBC+TTC/shared/incp/messaging.h index eed2a77..72f1f93 100644 --- a/doc/examples/OBC+TTC/shared/incp/messaging.h +++ b/doc/examples/OBC+TTC/shared/incp/messaging.h @@ -7,9 +7,6 @@ #include "incp2.h" -typedef int endpoint_t; //REVIEW: Figure this one out. Where the values come from, where they - // are defined, etc. -#define INCP_ENDPOINT_NVAL (~(endpoint_t)0) -#define INCP_ENDPOINT_TTC ((endpoint_t)1) +typedef uint16_t endpoint_t; //Type is from CSP, actual addresses are an application's problem #define DEFAULT_MSGBUF_SIZE 64 diff --git a/doc/examples/OBC+TTC/subsystems/OBC/main.c b/doc/examples/OBC+TTC/subsystems/OBC/main.c index 65d3bce..a669285 100644 --- a/doc/examples/OBC+TTC/subsystems/OBC/main.c +++ b/doc/examples/OBC+TTC/subsystems/OBC/main.c @@ -10,6 +10,10 @@ +//Application defined addresses +#define INCP_ENDPOINT_NVAL (~(endpoint_t)0) +#define INCP_ENDPOINT_TTC ((endpoint_t)1) + int main() { incp_async_ping(INCP_ENDPOINT_TTC, NULL);