]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
resource releases were missing
authoridgay <idgay>
Wed, 9 Aug 2006 20:07:55 +0000 (20:07 +0000)
committeridgay <idgay>
Wed, 9 Aug 2006 20:07:55 +0000 (20:07 +0000)
tos/chips/at45db/HplAt45dbByteC.nc

index 35e85e12096fbedfad6fc761b91508f13c9cf82d..c83251c74ba84c20c986e2e518b04cd664d20b2c 100644 (file)
@@ -204,11 +204,13 @@ implementation
       {
        bool cstatus = call HplAt45dbByte.getCompareStatus();
        call HplAt45dbByte.deselect();
+       call Resource.release();
        signal HplAt45db.waitCompareDone(cstatus);
       }
     else
       {
        call HplAt45dbByte.deselect();
+       call Resource.release();
        signal HplAt45db.waitIdleDone();
       }
   }