Skip to content

Commit b251121

Browse files
committed
sendData added to the class
1 parent 6d9a0ac commit b251121

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

cores/panstamp/panstamp.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,22 @@ class PANSTAMP
195195
inline void goToWirelessBoot(void)
196196
{
197197
}
198+
199+
/**
200+
* sendData
201+
*
202+
* Transmit packet
203+
*
204+
* @param packet Packet to be transmitted. First byte is the destination address
205+
*
206+
* @return
207+
* True if the transmission succeeds
208+
* False otherwise
209+
*/
210+
inline bool sendData(CCPACKET packet)
211+
{
212+
return radio.sendData(packet);
213+
}
198214
};
199215

200216
/**

0 commit comments

Comments
 (0)