]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/system/NoArbiterC.nc
Add tinyos.sh, a utility for changing the active tree (TOSROOT).
[tinyos-2.x.git] / tos / system / NoArbiterC.nc
index 1d02f5b9e6aebcf55f0d1efbf9439f0248b73043..40fe783d2604e5e15cd3a5443fa9075aed265f30 100644 (file)
@@ -14,6 +14,7 @@
  * checking. Does still call ResourceConfigure at the right time.
  *
  * @author David Gay
+ * @author Kevin Klues
  */
 
 generic module NoArbiterC() {
@@ -36,8 +37,9 @@ implementation {
     return SUCCESS;
   }  
 
-  async command void Resource.release() {
+  async command error_t Resource.release() {
     call ResourceConfigure.unconfigure();
+    return SUCCESS;
   } 
 
   async command uint8_t Resource.isOwner() {