X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Fplatforms%2Ftmirws%2Fsensors%2FWindVane.h;h=70c51ef61d7e06d7b2e290a634b16354bf848320;hp=20afde750e17203abb35a48f4cf8b0a93f1e5367;hb=d77247da5b155b1653e5044fe59ece639dce90bd;hpb=0af086c5bf6a9038446bb804d9a463fd32b4aa77 diff --git a/tos/platforms/tmirws/sensors/WindVane.h b/tos/platforms/tmirws/sensors/WindVane.h index 20afde75..70c51ef6 100644 --- a/tos/platforms/tmirws/sensors/WindVane.h +++ b/tos/platforms/tmirws/sensors/WindVane.h @@ -36,7 +36,8 @@ #ifndef WIND_VANE_H #define WIND_VANE_H -#define WINDVANE_NO_HEADING 255 +#define WINDVANE_OVERFLOW 255 +#define WINDVANE_NO_HEADING 254 /* Units are degrees/2, so 90 degrees is 45 units. This allows a full * circle of degrees to be represented in a single byte. Resolution reduction