]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/tmirws/sensors/AeroVane.h
Clean up comments in AeroVane.h to better explain aerovector fields.
[tinyos-2.x.git] / tos / platforms / tmirws / sensors / AeroVane.h
index d7571659bc29e37c1fcd7e488854e3ea003dba41..3e90ef396845b37493abb610f59113cbde2c0417 100644 (file)
 #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 {