From: razvanm Date: Fri, 30 Nov 2007 20:09:32 +0000 (+0000) Subject: Add a default for Notify.notify to prevent compiler errors when only the Get interfac... X-Git-Tag: release_tinyos_2_1_0_0~649 X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=commitdiff_plain;h=6f94dcc67976d1add1b1129d725ef9519989432c;p=tinyos-2.x.git Add a default for Notify.notify to prevent compiler errors when only the Get interface is used. --- diff --git a/tos/platforms/telosb/UserButtonP.nc b/tos/platforms/telosb/UserButtonP.nc index 7a34fe0b..91e99350 100644 --- a/tos/platforms/telosb/UserButtonP.nc +++ b/tos/platforms/telosb/UserButtonP.nc @@ -72,4 +72,6 @@ implementation { signal Notify.notify( BUTTON_PRESSED ); } } + + default event void Notify.notify( button_state_t val ) { } }