From: idgay Date: Wed, 9 Aug 2006 20:07:55 +0000 (+0000) Subject: resource releases were missing X-Git-Tag: tinyos/2.0.1~300 X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=commitdiff_plain;h=d01c4646c0c6347ebabfa71a44eb3593d90c5cdc;p=tinyos-2.x.git resource releases were missing --- diff --git a/tos/chips/at45db/HplAt45dbByteC.nc b/tos/chips/at45db/HplAt45dbByteC.nc index 35e85e12..c83251c7 100644 --- a/tos/chips/at45db/HplAt45dbByteC.nc +++ b/tos/chips/at45db/HplAt45dbByteC.nc @@ -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(); } }