]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/platforms/olimexp169/UserButtonP.nc
Fix TMI copyright attributions
[tinyos-2.x.git] / tos / platforms / olimexp169 / UserButtonP.nc
index 6b36d2db04c3195c2e60c987b20ccfdbb441b92f..6bed1dec32088d90a90bc20a853c69a200054f49 100644 (file)
@@ -10,7 +10,7 @@
  * - Redistributions in binary form must reproduce the above copyright
  *   notice, this list of conditions and the following disclaimer in the
  *   documentation and/or other materials provided with the distribution.
- * - Neither the name of the Technische Universität Berlin nor the names
+ * - Neither the name of the Titanium Mirror, Inc. nor the names
  *   of its contributors may be used to endorse or promote products derived
  *   from this software without specific prior written permission.
  *
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
  * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
+
  /**
  * @author R. Steve McKown <rsmckown@gmail.com>
  */
+
 #include <UserButton.h>
 
 module UserButtonP {
@@ -41,8 +41,8 @@ module UserButtonP {
   uses interface Notify<bool> as NotifyLower;
 }
 implementation {
-  
-  command button_state_t Get.get() { 
+
+  command button_state_t Get.get() {
     /* Olimex P169 user button pin is high when released - active low */
     if ( call GetLower.get() ) {
       return BUTTON_RELEASED;
@@ -67,6 +67,6 @@ implementation {
       signal Notify.notify( BUTTON_PRESSED );
     }
   }
-  
+
   default event void Notify.notify( button_state_t val ) { }
 }