X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fsystem%2FArbitratedReadNowC.nc;h=21c880e8d3e5017f342f472d23f9361f794b4c81;hb=1a329382c4f4556fd52d85f4e3f4a67e54911682;hp=43975457be422d19ce88327ee8a6f7c2fc1ab153;hpb=3837fe262225242d1629ba72bdf12f6d162ba5c0;p=tinyos-2.x.git diff --git a/tos/system/ArbitratedReadNowC.nc b/tos/system/ArbitratedReadNowC.nc index 43975457..21c880e8 100644 --- a/tos/system/ArbitratedReadNowC.nc +++ b/tos/system/ArbitratedReadNowC.nc @@ -45,7 +45,7 @@ implementation { default async command error_t Resource.immediateRequest[uint8_t client]() { return FAIL; } - default async command void Resource.release[uint8_t client]() { } + default async command error_t Resource.release[uint8_t client]() { return FAIL; } default async event void ReadNow.readDone[uint8_t client](error_t result, width_t data) { } default async command error_t Service.read[uint8_t client]() { return SUCCESS;