Adjusted addressing
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user