Skip to content

Commit 02c2d98

Browse files
authored
Merge pull request #31 from Defragster/patch-1 - This will allow transmit strings the size of available buffer space. Thanks, Defragster.
Update radioCWModulator_F32.h
2 parents 4ded02b + 3c9c9e6 commit 02c2d98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

radioCWModulator_F32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class radioCWModulator_F32 : public AudioStream_F32
115115
uint16_t space = getBufferSpace();
116116
uint16_t size = strlen(_pStr);
117117
// Serial.print(space); Serial.print(" space size "); Serial.println(size);
118-
if(space < size) return false;
118+
if(space <= size) return false;
119119
for(int kk=0; kk<(int)strlen(_pStr); kk++)
120120
sendCW( (uint16_t)*(_pStr+kk) );
121121
return true;

0 commit comments

Comments
 (0)