From: smckown Date: Wed, 4 Nov 2009 19:17:58 +0000 (+0000) Subject: Fix the comments in WindVaneC, etc. There is no longer a power of 2 requirement. X-Git-Tag: release/2.1.0-2~20 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=5df339a9fd5bb6d49a898d1f6db8fc11e229858a Fix the comments in WindVaneC, etc. There is no longer a power of 2 requirement. --- diff --git a/tos/platforms/tmirws/sensors/WindVaneC.nc b/tos/platforms/tmirws/sensors/WindVaneC.nc index 7da5c9a6..b4937fd1 100644 --- a/tos/platforms/tmirws/sensors/WindVaneC.nc +++ b/tos/platforms/tmirws/sensors/WindVaneC.nc @@ -29,10 +29,9 @@ /** * WindVane sensor. The compass is a number of sectors, 0...(sectors - 1). - * sectors must be a power of 2. Sector zero is North, and sectors/2 is South. - * Like any compass, the heading increases as one traverses the compass - * clockwise. The number of sectors are contrained by the uint8_t data members - * of wind_vane_t to 128. + * Sector zero is North, and sectors/2 is South. Like any compass, the heading + * increases as one traverses the compass clockwise. The number of sectors are + * contrained by the uint8_t data members of wind_vane_t to no more than 255. * * @author R. Steve McKown */ diff --git a/tos/platforms/tmirws/sensors/WindVaneP.nc b/tos/platforms/tmirws/sensors/WindVaneP.nc index 65716f63..8ec74fc5 100644 --- a/tos/platforms/tmirws/sensors/WindVaneP.nc +++ b/tos/platforms/tmirws/sensors/WindVaneP.nc @@ -29,10 +29,9 @@ /** * WindVane sensor. The compass is a number of sectors, 0...(sectors - 1). - * sectors must be a power of 2. Sector zero is North, and sectors/2 is South. - * Like any compass, the heading increases as one traverses the compass - * clockwise. The number of sectors are contrained by the uint8_t data members - * of wind_vane_t to 128. + * Sector zero is North, and sectors/2 is South. Like any compass, the heading + * increases as one traverses the compass clockwise. The number of sectors are + * contrained by the uint8_t data members of wind_vane_t to no more than 255. * * @author R. Steve McKown */