]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
Clean up comments in AeroVane.h to better explain aerovector fields.
authorsmckown <smckown@4bc1554a-c7f2-4f65-a403-e0be01f0239c>
Mon, 9 Nov 2009 19:30:57 +0000 (19:30 +0000)
committerR. Steve McKown <rsmckown@gmail.com>
Tue, 1 Dec 2009 03:01:51 +0000 (20:01 -0700)
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 {