X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fplatforms%2Ftmirws%2Fsensors%2FAeroVane.h;h=3e90ef396845b37493abb610f59113cbde2c0417;hb=f54520e9a604b832eb3498102975f50f1494d1c3;hp=d7571659bc29e37c1fcd7e488854e3ea003dba41;hpb=84e71a52b9848426abe8b1b0e3269fc9a9efd7ec;p=tinyos-2.x.git diff --git a/tos/platforms/tmirws/sensors/AeroVane.h b/tos/platforms/tmirws/sensors/AeroVane.h index d7571659..3e90ef39 100644 --- a/tos/platforms/tmirws/sensors/AeroVane.h +++ b/tos/platforms/tmirws/sensors/AeroVane.h @@ -36,13 +36,9 @@ #ifndef AEROVANE_H #define AEROVANE_H -/* Angular units are in sectors; see AeroVaneC for the number in use. - * Speed units are in mph. - */ - typedef struct { - uint16_t dir; - uint16_t speed; + uint16_t dir; /* Vane position. 0...1023; 360 degrees = 1024 */ + uint16_t speed; /* Anemometer revolutions over reading period. */ } aerovector_t; typedef struct {