]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/mac/tkn154/PibP.nc
Removed some unused code
[tinyos-2.x.git] / tos / lib / mac / tkn154 / PibP.nc
index 645b0e57ee7e1a390a8888b4cc54c8d00ad8b8bc..d5695cf2d06f040399970f6c02a92c0500eb89b7 100644 (file)
@@ -567,7 +567,7 @@ implementation
 
   command uint8_t Packet.maxPayloadLength()
   {
-#if TOSH_DATA_LENGTH < 118
+#if TOSH_DATA_LENGTH < IEEE154_aMaxMACPayloadSize
 #warning Payload portion in message_t is smaller than required (TOSH_DATA_LENGTH < IEEE154_aMaxMACPayloadSize). This means that larger packets cannot be sent/received.
 #endif
     return TOSH_DATA_LENGTH;