Address issue #120

This commit is contained in:
Felix Rusu 2019-05-01 11:35:34 -04:00
parent 855889c70c
commit f072131779
2 changed files with 2 additions and 2 deletions

View File

@ -1075,7 +1075,7 @@ void RFM69::listenModeApplyHighSpeedSettings()
//=============================================================================
// sendBurst() - send a burst of packets to a sleeping listening node (or all)
//=============================================================================
void RFM69::listenModeSendBurst( uint8_t targetNode, void* buffer, uint8_t size )
void RFM69::listenModeSendBurst( uint8_t targetNode, const void* buffer, uint8_t size )
{
detachInterrupt(_interruptNum);
setMode(RF69_MODE_STANDBY);

View File

@ -259,7 +259,7 @@ class RFM69 {
// is transmitted to the receiver, and it is expected that the receiver
// wait for the burst to end before attempting a reply.
// See RF69_LISTEN_BURST_REMAINING_MS above.
void listenModeSendBurst(uint8_t targetNode, void* buffer, uint8_t size);
void listenModeSendBurst(uint8_t targetNode, const void* buffer, uint8_t size);
protected:
void listenModeInterruptHandler(void);