]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/tosthreads/lib/net/ctp/ccollection.h
Allows a cthreads application to set the collection ID for a client ID
[tinyos-2.x.git] / tos / lib / tosthreads / lib / net / ctp / ccollection.h
index 4c8f9d2483b3107e1807c9ebe2c599222fa840aa..6ef74d0011c7916bcfb8de022912c1ba7183d108 100644 (file)
@@ -41,6 +41,6 @@
 #include "Collection.h"
 #include "Ctp.h"
 
-#define  NEW_COLLECTION_ID() ((collection_id_t)unique(UQ_CTP_CLIENT))
+#define  NEW_COLLECTION_CLIENT_ID() ((uint8_t)unique(UQ_CTP_CLIENT))
 
 #endif //CCOLLECTION_H