X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Flib%2Fmac%2Ftkn154%2FDebugC.nc;h=6af96f46b4ef0ab7538151a9521eead432825af1;hb=519673769e4a40805dc68b99f9e9ceb739d64800;hp=91d3dde95abd89808fe12dd6dae4362e6917c3b5;hpb=c5a0fd261d8ad2a813b54c5add6336d95cda43ed;p=tinyos-2.x.git diff --git a/tos/lib/mac/tkn154/DebugC.nc b/tos/lib/mac/tkn154/DebugC.nc index 91d3dde9..6af96f46 100644 --- a/tos/lib/mac/tkn154/DebugC.nc +++ b/tos/lib/mac/tkn154/DebugC.nc @@ -36,7 +36,13 @@ configuration DebugC { } implementation { - components DebugP, LedsC; + components DebugP, LedsC, MainC; + DebugP.Boot -> MainC; DebugP.Leds -> LedsC; + +#if defined(PLATFORM_TELOSB) + components UserButtonC; + DebugP.ButtonPressed -> UserButtonC; +#endif }