Adjusted addressing
This commit is contained in:
@@ -7,9 +7,6 @@
|
|||||||
|
|
||||||
#include "incp2.h"
|
#include "incp2.h"
|
||||||
|
|
||||||
typedef int endpoint_t; //REVIEW: Figure this one out. Where the values come from, where they
|
typedef uint16_t endpoint_t; //Type is from CSP, actual addresses are an application's problem
|
||||||
// are defined, etc.
|
|
||||||
#define INCP_ENDPOINT_NVAL (~(endpoint_t)0)
|
|
||||||
#define INCP_ENDPOINT_TTC ((endpoint_t)1)
|
|
||||||
|
|
||||||
#define DEFAULT_MSGBUF_SIZE 64
|
#define DEFAULT_MSGBUF_SIZE 64
|
||||||
|
|||||||
@@ -10,6 +10,10 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
//Application defined addresses
|
||||||
|
#define INCP_ENDPOINT_NVAL (~(endpoint_t)0)
|
||||||
|
#define INCP_ENDPOINT_TTC ((endpoint_t)1)
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
incp_async_ping(INCP_ENDPOINT_TTC, NULL);
|
incp_async_ping(INCP_ENDPOINT_TTC, NULL);
|
||||||
|
|||||||
Reference in New Issue
Block a user