Adjusted addressing

This commit is contained in:
2025-11-17 11:53:34 +00:00
parent f306df9daf
commit c59686ac7f
2 changed files with 5 additions and 4 deletions

View File

@@ -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

View File

@@ -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);