]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tosthreads/capps/TestCollection/MultihopOscilloscope.h
Change to get rid of statically allocating space in collection queue
[tinyos-2.x.git] / apps / tosthreads / capps / TestCollection / MultihopOscilloscope.h
index 5f04053921da7d7eb56ffca1fc5ad93f6029e8e6..437bd510e7ca4edaf1b79e51e042dab8c6ee60aa 100644 (file)
 #ifndef MULTIHOP_OSCILLOSCOPE_H
 #define MULTIHOP_OSCILLOSCOPE_H
 
+#include "Collection.h"
+
 enum {
   /* Number of readings per message. If you increase this, you may have to
      increase the message_t size. */
   NREADINGS = 5,
   /* Default sampling period. */
   DEFAULT_INTERVAL = 1024,
-  AM_OSCILLOSCOPE = 0x93
+  AM_OSCILLOSCOPE = NEW_COLLECTION_ID(),
 };
 
 typedef nx_struct oscilloscope {