Skip to content

Commit 2efeef4

Browse files
committed
Working on sendRaw Bug
1 parent f1e1fd0 commit 2efeef4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

irSend.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
#include "IRremoteInt.h"
33

44
//+=============================================================================
5-
void IRsend::sendRaw (unsigned int buf[], int len, int hz)
5+
void IRsend::sendRaw (unsigned int buf[], unsigned char len, unsigned char hz)
66
{
77
// Set IR carrier frequency
88
enableIROut(hz);
99

10-
for (int i = 0; i < len; i++) {
10+
for (unsigned char i = 0; i < len; i++) {
1111
if (i & 1) space(buf[i]) ;
1212
else mark (buf[i]) ;
1313
}

0 commit comments

Comments
 (0)