X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Ftmirws%2Fsensors%2FAeroVane.h;h=9c02b5c32d6940129908d19ef357b2237d4e3457;hb=e7cff086d70a6cd44c0c7ba21e83a92d52e5e0bf;hp=3e90ef396845b37493abb610f59113cbde2c0417;hpb=31c5577e7d049bcb6dfc5e3d0a2c8bfd324ef25c;p=tinyos-2.x.git diff --git a/tos/platforms/tmirws/sensors/AeroVane.h b/tos/platforms/tmirws/sensors/AeroVane.h index 3e90ef39..9c02b5c3 100644 --- a/tos/platforms/tmirws/sensors/AeroVane.h +++ b/tos/platforms/tmirws/sensors/AeroVane.h @@ -36,6 +36,10 @@ #ifndef AEROVANE_H #define AEROVANE_H +enum { + AEROVANE_VECTOR_NULL = 65535U, /* Null vector has this value as dir */ +}; + typedef struct { uint16_t dir; /* Vane position. 0...1023; 360 degrees = 1024 */ uint16_t speed; /* Anemometer revolutions over reading period. */