There was an error while loading. Please reload this page.
1 parent f1e1fd0 commit 2efeef4Copy full SHA for 2efeef4
irSend.cpp
@@ -2,12 +2,12 @@
2
#include "IRremoteInt.h"
3
4
//+=============================================================================
5
-void IRsend::sendRaw (unsigned int buf[], int len, int hz)
+void IRsend::sendRaw (unsigned int buf[], unsigned char len, unsigned char hz)
6
{
7
// Set IR carrier frequency
8
enableIROut(hz);
9
10
-for (int i = 0; i < len; i++) {
+for (unsigned char i = 0; i < len; i++) {
11
if (i & 1) space(buf[i]) ;
12
else mark (buf[i]) ;
13
}
0 commit comments