From d01c4646c0c6347ebabfa71a44eb3593d90c5cdc Mon Sep 17 00:00:00 2001 From: idgay Date: Wed, 9 Aug 2006 20:07:55 +0000 Subject: [PATCH] resource releases were missing --- tos/chips/at45db/HplAt45dbByteC.nc | 2 ++ 1 file changed, 2 insertions(+) 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(); } } -- 2.39.2